Megosztás a következőn keresztül:


CredentialPickerOptions Class

Definition

Controls the appearance and behavior of a credential prompt.

public ref class CredentialPickerOptions sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CredentialPickerOptions final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class CredentialPickerOptions final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CredentialPickerOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class CredentialPickerOptions
function CredentialPickerOptions()
Public NotInheritable Class CredentialPickerOptions
Inheritance
Object Platform::Object IInspectable CredentialPickerOptions
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Note

This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment.

Constructors

CredentialPickerOptions()

Creates and initializes a new, empty instance of the CredentialPickerOptions object.

Properties

AlwaysDisplayDialog

Gets or sets the option of whether the dialog box is displayed.

AuthenticationProtocol

Gets or sets the authentication protocol.

CallerSavesCredential

Gets or sets whether the caller wants to save the credentials.

Caption

Gets or sets the caption text that is displayed to the user.

CredentialSaveOption

Gets or sets the option on saving credentials.

CustomAuthenticationProtocol

Gets or sets whether the authentication protocol is custom rather than a standard authentication protocol.

ErrorCode

Gets or sets the error code.

Message

Gets or sets the body of text that displays to the user.

PreviousCredential

Gets or sets whether to fill dialog box fields with previous credentials.

TargetName

Gets or sets the name of the target computer.

Applies to