StorePurchaseResult StorePurchaseResult StorePurchaseResult StorePurchaseResult Class

Definition

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

public : sealed class StorePurchaseResult : IStorePurchaseResultpublic sealed class StorePurchaseResult : IStorePurchaseResultPublic NotInheritable Class StorePurchaseResult Implements IStorePurchaseResult// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced v1)

Remarks

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

Properties

ExtendedError ExtendedError ExtendedError ExtendedError

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

public : HResult ExtendedError { get; }public Exception ExtendedError { get; }Public ReadOnly Property ExtendedError As Exception// You can use this property in JavaScript.
Value
HResult Exception Exception Exception

The error code for the purchase request.

See Also

Status Status Status Status

Gets the status of the purchase request.

public : StorePurchaseStatus Status { get; }public StorePurchaseStatus Status { get; }Public ReadOnly Property Status As StorePurchaseStatus// You can use this property in JavaScript.