Share via


StorePurchaseResult Class

Definition

Provides response data for a request to purchase an app or product that is offered by the app.

public ref class StorePurchaseResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorePurchaseResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorePurchaseResult
Public NotInheritable Class StorePurchaseResult
Inheritance
Object Platform::Object IInspectable StorePurchaseResult
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced in v1.0)

Remarks

The RequestPurchaseAsync methods of the StoreContext, StoreProduct, StoreSku, or StoreAvailability classes return an object of this type.

Properties

ExtendedError

Gets the error code for the purchase request, if the operation encountered an error.

Status

Gets the status of the purchase request.

Applies to