LimitedAccessFeatures.TryUnlockFeature(String, String, String) メソッド

定義

特定の制限付きアクセス機能の使用を承認する要求を Microsoft に送信します。 この API を正常に呼び出すには、ユーザーが以前に Microsoft から機能 ID とトークンを取得している必要があります。

public:
 static LimitedAccessFeatureRequestResult ^ TryUnlockFeature(Platform::String ^ featureId, Platform::String ^ token, Platform::String ^ attestation);
 static LimitedAccessFeatureRequestResult TryUnlockFeature(winrt::hstring const& featureId, winrt::hstring const& token, winrt::hstring const& attestation);
public static LimitedAccessFeatureRequestResult TryUnlockFeature(string featureId, string token, string attestation);
function tryUnlockFeature(featureId, token, attestation)
Public Shared Function TryUnlockFeature (featureId As String, token As String, attestation As String) As LimitedAccessFeatureRequestResult

パラメーター

featureId
String

Platform::String

winrt::hstring

Microsoft によって提供される ID。 要求されている機能を識別する 。

token
String

Platform::String

winrt::hstring

この機能を使用するための要件に同意すると、Microsoft から返された文字列。

attestation
String

Platform::String

winrt::hstring

発行元にこの機能を使用するアクセス許可があることを宣言する、英語のプレーンなステートメント。

戻り値

ユーザー要求への応答を示す LimitedAccessFeatureRequestResult 値。

適用対象