KeyCredentialManager.RequestCreateAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為目前的使用者和應用程式建立新的金鑰認證。
public:
static IAsyncOperation<KeyCredentialRetrievalResult ^> ^ RequestCreateAsync(Platform::String ^ name, KeyCredentialCreationOption option);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<KeyCredentialRetrievalResult> RequestCreateAsync(winrt::hstring const& name, KeyCredentialCreationOption const& option);
static IAsyncOperation<KeyCredentialRetrievalResult> RequestCreateAsync(winrt::hstring const& name, KeyCredentialCreationOption const& option);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<KeyCredentialRetrievalResult> RequestCreateAsync(string name, KeyCredentialCreationOption option);
public static IAsyncOperation<KeyCredentialRetrievalResult> RequestCreateAsync(string name, KeyCredentialCreationOption option);
function requestCreateAsync(name, option)
Public Shared Function RequestCreateAsync (name As String, option As KeyCredentialCreationOption) As IAsyncOperation(Of KeyCredentialRetrievalResult)
參數
- name
-
String
Platform::String
winrt::hstring
要建立的金鑰認證名稱。
- option
- KeyCredentialCreationOption
建立作業的選項。
傳回
此方法完成時,它會傳回金鑰認證建立的結果。
- 屬性