Method RequestProductPurchaseAsync
RequestProductPurchaseAsync(string)
Requests the purchase of an add-on (also called an in-app product or IAP). Additionally, calling this method displays the UI that is used to complete the transaction via the Microsoft Store.
Declaration
public IAsyncOperation<PurchaseResults> RequestProductPurchaseAsync(string productId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | productId | The product ID of the add-on to purchase. |
Returns
| Type | Description |
|---|---|
| IAsyncOperation<PurchaseResults> | An async operation for a |