SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus 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.
Deprecated. Contains values that describe the status of the registration of a companion device for presence monitoring.
Note
This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft to use the secondaryAuthenticationFactor capability, calls to this API will fail. To apply for approval, contact cdfonboard@microsoft.com. For more information on capabilities, see App capability declarations. For an overview of the Companion Device Framework, see the Windows Unlock with companion (IoT) devices overview.
public enum class SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
enum class SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
public enum SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus
var value = Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus.unsupported
Public Enum SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus
- Inheritance
-
SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus
- Attributes
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Fields
Name | Value | Description |
---|---|---|
Unsupported | 0 | Presence monitoring is not supported on this device. |
Succeeded | 1 | The device was registered for presence monitoring successfully. |
DisabledByPolicy | 2 | Presence monitoring registration was prevented by a policy setting on the device. |