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 は、説明、価格レベル、有効期間に関連付けられます。 詳細については、「 コードでアドオンに製品 ID を使用する方法」を参照してください。

2 回以上購入されたコンシューマブル製品の各インスタンスには、一意のトランザクション ID が必要です。

適用対象