StoreContext.CanAcquireStoreLicenseAsync(String) 메서드

정의

현재 사용자에 대해 현재 앱의 지정된 다운로드 가능한 콘텐츠(DLC) 추가 기능에 대한 라이선스를 획득할 수 있는지 여부를 나타내는 값을 가져옵니다.

public:
 virtual IAsyncOperation<StoreCanAcquireLicenseResult ^> ^ CanAcquireStoreLicenseAsync(Platform::String ^ productStoreId) = CanAcquireStoreLicenseAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StoreCanAcquireLicenseResult> CanAcquireStoreLicenseAsync(winrt::hstring const& productStoreId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StoreCanAcquireLicenseResult> CanAcquireStoreLicenseAsync(string productStoreId);
function canAcquireStoreLicenseAsync(productStoreId)
Public Function CanAcquireStoreLicenseAsync (productStoreId As String) As IAsyncOperation(Of StoreCanAcquireLicenseResult)

매개 변수

productStoreId
String

Platform::String

winrt::hstring

검사 DLC 추가 기능의 스토어 ID입니다.

반환

성공적으로 완료되면 라이선스를 획득할 수 있는지 여부를 나타내는 StoreCanAcquireLicenseResult 개체를 반환하는 비동기 작업입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1803 (10.0.17134.0에서 도입되었습니다.)
API contract
Windows.Services.Store.StoreContract (v3.0에서 도입되었습니다.)

설명

추가 기능에 대한 스토어 ID는 파트너 센터에서 사용할 수 있으며 추가 기능을 나타내는 StoreProductStoreId 속성에 의해 반환됩니다.

참고

DLC(다운로드 가능한 콘텐츠) 추가 기능은 모든 개발자 계정에서 사용할 수 없습니다.

적용 대상

추가 정보