Share via


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

取得寫入不允許錯誤的位元組值。

適用於