CredentialPickerOptions.ErrorCode 屬性

定義

取得或設定錯誤碼。

public:
 property unsigned int ErrorCode { unsigned int get(); void set(unsigned int value); };
uint32_t ErrorCode();

void ErrorCode(uint32_t value);
public uint ErrorCode { get; set; }
var uInt32 = credentialPickerOptions.errorCode;
credentialPickerOptions.errorCode = uInt32;
Public Property ErrorCode As UInteger

屬性值

UInt32

unsigned int

uint32_t

如果為非零,表示 Win32 ERROR_* 狀態值,可識別要格式化並顯示在對話方塊中的錯誤資訊。 如果未發生任何錯誤,預設值會ERROR_SUCCESS。

適用於