CredentialPicker.PickAsync Method

Definition

Overloads

PickAsync(CredentialPickerOptions)

Displays a dialog box to the user and collects credentials from the user.

PickAsync(String, String)

Constructor used to initiate asynchronous prompting operations using two inputs.

PickAsync(String, String, String)

Constructor used to initiate asynchronous prompting operations using three inputs.

PickAsync(CredentialPickerOptions)

Displays a dialog box to the user and collects credentials from the user.

public:
 static IAsyncOperation<CredentialPickerResults ^> ^ PickAsync(CredentialPickerOptions ^ options);
 static IAsyncOperation<CredentialPickerResults> PickAsync(CredentialPickerOptions const & options);
[Windows.Foundation.Metadata.Overload("PickWithOptionsAsync")]
public static IAsyncOperation<CredentialPickerResults> PickAsync(CredentialPickerOptions options);
function pickAsync(options)
Public Shared Function PickAsync (options As CredentialPickerOptions) As IAsyncOperation(Of CredentialPickerResults)

Parameters

options
CredentialPickerOptions

The options on displaying and collecting the credential box.

Returns

IAsyncOperation<CredentialPickerResults>

The credential and options from the user.

Attributes

See also

PickAsync(String, String)

Constructor used to initiate asynchronous prompting operations using two inputs.

public:
 static IAsyncOperation<CredentialPickerResults ^> ^ PickAsync(Platform::String ^ targetName, Platform::String ^ message);
 static IAsyncOperation<CredentialPickerResults> PickAsync(winrt::hstring const & targetName, winrt::hstring const & message);
[Windows.Foundation.Metadata.Overload("PickWithMessageAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<CredentialPickerResults> PickAsync(string targetName, string message);
function pickAsync(targetName, message)
Public Shared Function PickAsync (targetName As String, message As String) As IAsyncOperation(Of CredentialPickerResults)

Parameters

targetName
String

The target name to display.

message
String

The message to display in the dialog box.

Returns

IAsyncOperation<CredentialPickerResults>

The credential and options from the user.

Attributes

See also

PickAsync(String, String, String)

Constructor used to initiate asynchronous prompting operations using three inputs.

public:
 static IAsyncOperation<CredentialPickerResults ^> ^ PickAsync(Platform::String ^ targetName, Platform::String ^ message, Platform::String ^ caption);
 static IAsyncOperation<CredentialPickerResults> PickAsync(winrt::hstring const & targetName, winrt::hstring const & message, winrt::hstring const & caption);
[Windows.Foundation.Metadata.Overload("PickWithCaptionAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<CredentialPickerResults> PickAsync(string targetName, string message, string caption);
function pickAsync(targetName, message, caption)
Public Shared Function PickAsync (targetName As String, message As String, caption As String) As IAsyncOperation(Of CredentialPickerResults)

Parameters

targetName
String

The target name to display.

message
String

The message to display in the dialog box.

caption
String

The caption to display in the dialog box.

Returns

IAsyncOperation<CredentialPickerResults>

The credential and options from the user.

Attributes

See also

Applies to