Share via


StorePreviewProductPurchaseStatus Enum

Definition

Defines values that are used to indicate the transaction status when purchasing an in-app product SKU by using the RequestProductPurchaseByProductIdAndSkuIdAsync method.

public enum class StorePreviewProductPurchaseStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class StorePreviewProductPurchaseStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum StorePreviewProductPurchaseStatus
var value = Windows.ApplicationModel.Store.Preview.StorePreviewProductPurchaseStatus.succeeded
Public Enum StorePreviewProductPurchaseStatus
Inheritance
StorePreviewProductPurchaseStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Succeeded 0

The transaction succeeded and the user has been notified.

AlreadyPurchased 1

The transaction did not complete because this in-app product SKU has already been purchased by the user, and it cannot be purchased again. This value only applies to durable in-app products.

NotFulfilled 2

The transaction did not complete because the last purchase of this consumable in-app product SKU has not been reported as fulfilled to the Microsoft Store. This value only applies to consumable in-app products.

NotPurchased 3

The purchase did not occur because the user decided not to complete the transaction (or the transaction failed for other reasons).

Applies to