DevicePairingResultStatus Enum

Definition

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
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DevicePairingResultStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DevicePairingResultStatus
var value = Windows.Devices.Enumeration.DevicePairingResultStatus.paired
Public Enum DevicePairingResultStatus
Inheritance
DevicePairingResultStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

AccessDenied 12

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

AlreadyPaired 3

The device object has already been paired.

AuthenticationFailure 9

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

AuthenticationNotAllowed 8

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

AuthenticationTimeout 7

The authentication process timed out before it could complete.

ConnectionRejected 4

The device object rejected the connection.

Failed 19

An unknown failure occurred.

HardwareFailure 6

The device object indicated there was a hardware failure.

InvalidCeremonyData 13

The ceremony data was incorrect.

NoSupportedProfiles 10

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

NotPaired 2

The device object is not currently paired.

NotReadyToPair 1

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

OperationAlreadyInProgress 15

The device object is already attempting to pair or unpair.

Paired 0

The device object is now paired.

PairingCanceled 14

The pairing action was canceled before completion.

ProtectionLevelCouldNotBeMet 11

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

RejectedByHandler 17

The application handler rejected the pairing.

RemoteDeviceHasAssociation 18

The remove device already has an association.

RequiredHandlerNotRegistered 16

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

TooManyConnections 5

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

Remarks

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

Applies to