DeviceUnpairingResultStatus Enum

Definition

The result of the unpairing action.

public enum class DeviceUnpairingResultStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum class DeviceUnpairingResultStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum DeviceUnpairingResultStatus
var value = Windows.Devices.Enumeration.DeviceUnpairingResultStatus.unpaired
Public Enum DeviceUnpairingResultStatus
Inheritance
DeviceUnpairingResultStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Fields

Name Value Description
Unpaired 0

The device object is successfully unpaired.

AlreadyUnpaired 1

The device object was already unpaired.

OperationAlreadyInProgress 2

The device object is currently in the middle of either a pairing or unpairing action.

AccessDenied 3

The caller does not have sufficient permissions to unpair the device.

Failed 4

An unknown failure occurred.

Applies to