DevicePairingResultStatus 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
与关联终结点的配对操作的结果, (AEP) 设备对象。 有关 AEP 对象的详细信息,请参阅 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
- 继承
-
DevicePairingResultStatus
- 属性
Windows 要求
| 设备系列 |
Windows 10 (在 10.0.10240.0 中引入)
|
| API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
字段
| 名称 | 值 | 说明 |
|---|---|---|
| AccessDenied | 12 | 应用程序没有适当的权限级别来配对设备对象。 |
| AlreadyPaired | 3 | 设备对象已配对。 |
| AuthenticationFailure | 9 | 身份验证失败,因此设备未配对。 设备对象或应用程序拒绝了身份验证。 |
| AuthenticationNotAllowed | 8 | 不支持身份验证协议,因此设备未配对。 |
| AuthenticationTimeout | 7 | 身份验证过程在完成之前超时。 |
| ConnectionRejected | 4 | 设备对象拒绝了连接。 |
| Failed | 19 | 发生未知的失败。 |
| HardwareFailure | 6 | 设备对象指示存在硬件故障。 |
| InvalidCeremonyData | 13 | 仪式数据不正确。 |
| NoSupportedProfiles | 10 | 没有可供此设备对象使用的网络配置文件。 |
| NotPaired | 2 | 设备对象当前未配对。 |
| NotReadyToPair | 1 | 设备对象未处于可配对的状态。 |
| OperationAlreadyInProgress | 15 | 设备对象已在尝试配对或取消配对。 |
| Paired | 0 | 设备对象现已配对。 |
| PairingCanceled | 14 | 配对操作在完成之前已取消。 |
| ProtectionLevelCouldNotBeMet | 11 | 设备对象或应用程序不支持最低保护级别。 |
| RejectedByHandler | 17 | 应用程序处理程序拒绝了配对。 |
| RemoteDeviceHasAssociation | 18 | 删除设备已具有关联。 |
| RequiredHandlerNotRegistered | 16 | 未注册事件处理程序或不支持所需的 DevicePairingKinds 。 |
| TooManyConnections | 5 | 设备对象指示它不能再接受任何传入连接。 |
注解
版本历史记录
| Windows 版本 | SDK 版本 | 增值 |
|---|---|---|
| 1511 | 10586 | 已失败 |
| 1511 | 10586 | OperationAlreadyInProgress |
| 1511 | 10586 | PairingCanceled |
| 1511 | 10586 | RejectedByHandler |
| 1511 | 10586 | RemoteDeviceHasAssociation |
| 1511 | 10586 | RequiredHandlerNotRegistered |