Share via


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

적용 대상