DevicePairingResultStatus DevicePairingResultStatus DevicePairingResultStatus DevicePairingResultStatus DevicePairingResultStatus Enum


The result of the pairing action with an Association Endpoint (AEP) device object. For more information about AEP objects, see DeviceInformationKind.

public : enum class DevicePairingResultStatus
enum class winrt::Windows::Devices::Enumeration::DevicePairingResultStatus : int32_t
public enum DevicePairingResultStatus
Public Enum DevicePairingResultStatus
var value = Windows.Devices.Enumeration.DevicePairingResultStatus.accessDenied;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


AccessDenied AccessDenied AccessDenied AccessDenied AccessDenied 12

Your application does not have the appropriate permissions level to pair the device object.

AlreadyPaired AlreadyPaired AlreadyPaired AlreadyPaired AlreadyPaired 3

The device object has already been paired.

AuthenticationFailure AuthenticationFailure AuthenticationFailure AuthenticationFailure AuthenticationFailure 9

Authentication failed, so the device is not paired. Either the device object or the application rejected the authentication.

AuthenticationNotAllowed AuthenticationNotAllowed AuthenticationNotAllowed AuthenticationNotAllowed AuthenticationNotAllowed 8

The authentication protocol is not supported, so the device is not paired.

AuthenticationTimeout AuthenticationTimeout AuthenticationTimeout AuthenticationTimeout AuthenticationTimeout 7

The authentication process timed out before it could complete.

ConnectionRejected ConnectionRejected ConnectionRejected ConnectionRejected ConnectionRejected 4

The device object rejected the connection.

Failed Failed Failed Failed Failed 19

An unknown failure occurred.

HardwareFailure HardwareFailure HardwareFailure HardwareFailure HardwareFailure 6

The device object indicated there was a hardware failure.

InvalidCeremonyData InvalidCeremonyData InvalidCeremonyData InvalidCeremonyData InvalidCeremonyData 13

The ceremony data was incorrect.

NoSupportedProfiles NoSupportedProfiles NoSupportedProfiles NoSupportedProfiles NoSupportedProfiles 10

There are no network profiles for this device object to use.

NotPaired NotPaired NotPaired NotPaired NotPaired 2

The device object is not currently paired.

NotReadyToPair NotReadyToPair NotReadyToPair NotReadyToPair NotReadyToPair 1

The device object is not in a state where it can be paired.

OperationAlreadyInProgress OperationAlreadyInProgress OperationAlreadyInProgress OperationAlreadyInProgress OperationAlreadyInProgress 15

The device object is already attempting to pair or unpair.

Paired Paired Paired Paired Paired 0

The device object is now paired.

PairingCanceled PairingCanceled PairingCanceled PairingCanceled PairingCanceled 14

The pairing action was canceled before completion.

ProtectionLevelCouldNotBeMet ProtectionLevelCouldNotBeMet ProtectionLevelCouldNotBeMet ProtectionLevelCouldNotBeMet ProtectionLevelCouldNotBeMet 11

The minimum level of protection is not supported by the device object or the application.

RejectedByHandler RejectedByHandler RejectedByHandler RejectedByHandler RejectedByHandler 17

The application handler rejected the pairing.

RemoteDeviceHasAssociation RemoteDeviceHasAssociation RemoteDeviceHasAssociation RemoteDeviceHasAssociation RemoteDeviceHasAssociation 18

The remove device already has an association.

RequiredHandlerNotRegistered RequiredHandlerNotRegistered RequiredHandlerNotRegistered RequiredHandlerNotRegistered RequiredHandlerNotRegistered 16

Either the event handler wasn't registered or a required DevicePairingKinds was not supported.

TooManyConnections TooManyConnections TooManyConnections TooManyConnections TooManyConnections 5

The device object indicated it cannot accept any more incoming connections.


Version history

Windows version SDK version Value added
1511 10586 Failed
1511 10586 OperationAlreadyInProgress
1511 10586 PairingCanceled
1511 10586 RejectedByHandler
1511 10586 RemoteDeviceHasAssociation
1511 10586 RequiredHandlerNotRegistered