GattProtocolError 类

定义

此类包含 GATT 协议错误的字节值。

public ref class GattProtocolError abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GattProtocolError final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class GattProtocolError
Public Class GattProtocolError
继承
Object Platform::Object IInspectable GattProtocolError
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)
应用功能
bluetooth

属性

AttributeNotFound

获取“找不到属性”错误的字节值。

AttributeNotLong

获取属性不长错误的字节值。

InsufficientAuthentication

获取身份验证不足错误的字节值。

InsufficientAuthorization

获取授权不足错误的字节值。

InsufficientEncryption

获取加密不足错误的字节值。

InsufficientEncryptionKeySize

获取加密密钥大小不足错误的字节值。

InsufficientResources

获取资源不足错误的字节值。

InvalidAttributeValueLength

获取无效属性值长度错误的字节值。

InvalidHandle

获取无效句柄错误的字节值。

InvalidOffset

获取无效偏移错误的字节值。

InvalidPdu

获取无效 PDU 错误的字节值。

PrepareQueueFull

获取准备队列已满错误的字节值。

ReadNotPermitted

获取不允许读取错误的字节值。

RequestNotSupported

获取请求不支持的错误的字节值。

UnlikelyError

获取不太可能的错误的字节值。

UnsupportedGroupType

获取不受支持的组类型错误的字节值。

WriteNotPermitted

获取不允许写入错误的字节值。

适用于