ProductPurchaseStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines values used to indicate the transaction status when purchasing an in-app product.
public enum class ProductPurchaseStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ProductPurchaseStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ProductPurchaseStatus
var value = Windows.ApplicationModel.Store.ProductPurchaseStatus.succeeded
Public Enum ProductPurchaseStatus
- Inheritance
-
ProductPurchaseStatus
- 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 has already been purchased by the user, and it cannot be purchased again. |
NotFulfilled | 2 | The transaction did not complete because the last purchase of this consumable in-app product has not been reported as fulfilled to the Microsoft Store. |
NotPurchased | 3 | The purchase did not occur because the user decided not to complete the transaction (or the transaction failed for other reasons). |