Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1003 Bytes

credentialpicker_pickasync_693496969.md

File metadata and controls

32 lines (22 loc) · 1003 Bytes
-api-id -api-type
M:Windows.Security.Credentials.UI.CredentialPicker.PickAsync(System.String,System.String)
winrt method

Windows.Security.Credentials.UI.CredentialPicker.PickAsync

-description

Constructor used to initiate asynchronous prompting operations using two inputs.

-parameters

-param targetName

The target name to display.

-param message

The message to display in the dialog box.

-returns

The credential and options from the user.

-remarks

This method is supported only in UWP apps. In a non-UWP (that is, desktop) app, use the three-parameter overload, and set the caption parameter.

-examples

-see-also

PickAsync(CredentialPickerOptions), PickAsync(String, String, String)