다음을 통해 공유


CurrentAppSimulator.GetAppReceiptAsync 메서드

정의

사용자가 이 앱 및 앱 내 제품 구매에 대한 모든 영수증 요청을 시뮬레이션하는 데 사용할 수 있는 비동기 작업을 만듭니다. 영수증 정보를 사용하는 방법에 대한 예제는 영수증을 사용하여 제품 구매 확인을 참조하세요.

public:
 static IAsyncOperation<Platform::String ^> ^ GetAppReceiptAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<winrt::hstring> GetAppReceiptAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> GetAppReceiptAsync();
function getAppReceiptAsync()
Public Shared Function GetAppReceiptAsync () As IAsyncOperation(Of String)

반환

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

이 앱에 대한 모든 영수증과 앱에서 바로 구매한 제품을 포함하는 XML 형식 문자열입니다.

특성

설명

영수증의 내용에 대한 자세한 내용은 영수증을 사용하여 제품 구매 확인을 참조하세요.

적용 대상