CurrentApp.ReportConsumableFulfillmentAsync(String, Guid) 메서드

정의

소모성 추가 기능(앱에서 바로 구매 제품 또는 IAP라고도 함)의 구매가 이행되었으며 사용자에게 콘텐츠에 액세스할 권리가 있음을 Microsoft Store에 알립니다.

public:
 static IAsyncOperation<FulfillmentResult> ^ ReportConsumableFulfillmentAsync(Platform::String ^ productId, Platform::Guid transactionId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<FulfillmentResult> ReportConsumableFulfillmentAsync(winrt::hstring const& productId, winrt::guid const& transactionId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<FulfillmentResult> ReportConsumableFulfillmentAsync(string productId, Guid transactionId);
function reportConsumableFulfillmentAsync(productId, transactionId)
Public Shared Function ReportConsumableFulfillmentAsync (productId As String, transactionId As Guid) As IAsyncOperation(Of FulfillmentResult)

매개 변수

productId
String

Platform::String

winrt::hstring

처리된 것으로 보고할 소모성 추가 기능의 제품 ID입니다.

transactionId
Guid

Platform::Guid

winrt::guid

소모성 추가 기능 구매에 대한 트랜잭션 ID입니다.

반환

소모성 추가 기능에 대한 처리 상태 나타내는 FulfillmentResult 값입니다.

특성

설명

제품 ID는 앱이 추가 기능을 식별하는 데 사용하는 문자열입니다. 파트너 센터에서추가 기능을 제출할 때 제품 ID를 입력합니다. 여기서 설명, 가격 계층 및 수명과 연결됩니다. 자세한 내용은 코드에서 추가 기능에 제품 ID를 사용하는 방법을 참조하세요.

두 번 이상 구매한 소모성 제품의 각 instance 고유한 트랜잭션 ID가 필요합니다.

적용 대상