GetEntitlementStatus Enum

Definition

Defines the possible results of a request to grant a free entitlement by using the GetFreeDeviceEntitlementAsync, GetFreeUserEntitlementAsync, or GetFreeUserEntitlementForUserAsync methods.

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

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
runFullTrust

Fields

NetworkError 2

The request was unsuccessful because of a network connection error.

NoStoreAccount 1

The request was unsuccessful because the specified user does not have a Microsoft account that is associated with the Store on the current device.

ServerError 3

The request was unsuccessful because of a server error.

Succeeded 0

The request succeeded.

Remarks

The GetEntitlementResult.Status property returns one of the GetEntitlementStatus values.

Applies to