StorePurchaseStatus Enum
Definition
Defines values that represent the status of a request to purchase an app or add-on.
public enum class StorePurchaseStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
enum StorePurchaseStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
public enum StorePurchaseStatus
var value = Windows.Services.Store.StorePurchaseStatus.succeeded
Public Enum StorePurchaseStatus
- Inheritance
-
StorePurchaseStatus
- Attributes
Windows 10 requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Services.Store.StoreContract (introduced in v1.0)
|
Fields
AlreadyPurchased | 1 | The current user has already purchased the specified app or add-on. |
NetworkError | 3 | The purchase request did not succeed because of a network connectivity error. |
NotPurchased | 2 | The purchase request did not succeed. |
ServerError | 4 | The purchase request did not succeed because of a server error returned by the Microsoft Store. |
Succeeded | 0 | The purchase request succeeded. |
Remarks
The StorePurchaseResult.Status property returns these values.