共用方式為


WebProviderTokenRequest.GetApplicationTokenBindingKeyIdAsync 方法

定義

取得應用程式權杖系結金鑰識別碼。

public:
 virtual IAsyncOperation<IBuffer ^> ^ GetApplicationTokenBindingKeyIdAsync(TokenBindingKeyType keyType, Uri ^ target) = GetApplicationTokenBindingKeyIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IBuffer> GetApplicationTokenBindingKeyIdAsync(TokenBindingKeyType const& keyType, Uri const& target);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IBuffer> GetApplicationTokenBindingKeyIdAsync(TokenBindingKeyType keyType, System.Uri target);
function getApplicationTokenBindingKeyIdAsync(keyType, target)
Public Function GetApplicationTokenBindingKeyIdAsync (keyType As TokenBindingKeyType, target As Uri) As IAsyncOperation(Of IBuffer)

參數

keyType
TokenBindingKeyType

權杖系結金鑰的類型。

target
Uri Uri

金鑰的目標 URI。

傳回

此方法完成時,它會傳回權杖系結金鑰識別碼。

屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

適用於