StorePurchaseStatus Enum


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 class StorePurchaseStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
public enum StorePurchaseStatus
var value = Windows.Services.Store.StorePurchaseStatus.succeeded
Public Enum StorePurchaseStatus

Windows requirements

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


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.


The StorePurchaseResult.Status property returns these values.

Applies to