StoreCanLicenseStatus 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 that represent the license status for a downloadable content (DLC) add-on package.
public enum class StoreCanLicenseStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 196608)]
enum class StoreCanLicenseStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 196608)]
public enum StoreCanLicenseStatus
var value = Windows.Services.Store.StoreCanLicenseStatus.notLicensableToUser
Public Enum StoreCanLicenseStatus
- Inheritance
-
StoreCanLicenseStatus
- Attributes
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Services.Store.StoreContract (introduced in v3.0)
|
Fields
Name | Value | Description |
---|---|---|
NotLicensableToUser | 0 | The user doesn't have the right to acquire a license for the product. |
Licensable | 1 | The product can be licensed to the current user. |
LicenseActionNotApplicableToProduct | 2 | The product is not individually licensable. For example, this can occur if you pass a Store ID to the CanAcquireStoreLicenseAsync(String) method for a non-DLC add-on (that is, an add-on without a package). |
NetworkError | 3 | The license request did not succeed because of a network connectivity error. |
ServerError | 4 | The license request did not succeed because of a server error returned by the Microsoft Store. |