AppInstallManager.GetFreeUserEntitlementAsync(String, String, String) メソッド

定義

指定したアプリの無料エンタイトルメントを現在のユーザーに付与します。

public:
 virtual IAsyncOperation<GetEntitlementResult ^> ^ GetFreeUserEntitlementAsync(Platform::String ^ storeId, Platform::String ^ campaignId, Platform::String ^ correlationVector) = GetFreeUserEntitlementAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GetEntitlementResult> GetFreeUserEntitlementAsync(winrt::hstring const& storeId, winrt::hstring const& campaignId, winrt::hstring const& correlationVector);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GetEntitlementResult> GetFreeUserEntitlementAsync(string storeId, string campaignId, string correlationVector);
function getFreeUserEntitlementAsync(storeId, campaignId, correlationVector)
Public Function GetFreeUserEntitlementAsync (storeId As String, campaignId As String, correlationVector As String) As IAsyncOperation(Of GetEntitlementResult)

パラメーター

storeId
String

Platform::String

winrt::hstring

エンタイトルメントを付与するアプリのストア ID。

campaignId
String

Platform::String

winrt::hstring

エンタイトルメントに関連付けられているキャンペーンの ID。

correlationVector
String

Platform::String

winrt::hstring

テレメトリ データの生成に使用できる相関ベクトル文字列。

戻り値

正常に完了すると、エンタイトルメント付与の状態を示す GetEntitlementResult オブジェクトを返す非同期操作。

属性

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)
アプリの機能
runFullTrust

適用対象