LimitedAccessFeatures.TryUnlockFeature(String, String, String) Method

Definition

Submits a request to Microsoft to authorize use of a specific Limited Access Feature. Users must have previously obtained a feature ID and a token from Microsoft in order to successfully call this API.

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

Parameters

featureId
String

The ID, provided by Microsoft. that identifies the feature being requested.

token
String

The string receieved from Microsoft upon agreeing to the requirements for use of the feature.

attestation
String

A plain-english statement declaring that the publisher has permission to use the feature.

Returns

LimitedAccessFeatureRequestResult

A LimitedAccessFeatureRequestResult value indicating the response to the user request.

Applies to