Aracılığıyla paylaş


LimitedAccessFeatureStatus Enum

Definition

Provides the result of an attempt to authorize the use of a Limited Access Feature with the LimitedAccessFeatures.TryUnlockFeature API.

public enum class LimitedAccessFeatureStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class LimitedAccessFeatureStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum LimitedAccessFeatureStatus
var value = Windows.ApplicationModel.LimitedAccessFeatureStatus.unavailable
Public Enum LimitedAccessFeatureStatus
Inheritance
LimitedAccessFeatureStatus
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Fields

Name Value Description
Unavailable 0

Indicates that the user does not have access to the feature.

Available 1

Indicates that the user has permission to use the feature, and that the feature is still in the "limited access" state.

AvailableWithoutToken 2

Indicates that the feature is no longer in the "limited access" state, and that permission is no longer required for its use.

Unknown 3

Indicates that the feature could not be found. This is likely due to an incorrect or deleted feature ID.

Applies to