GattReadResult.ProtocolError 属性

定义

获取协议错误。

public:
 property IReference<byte> ^ ProtocolError { IReference<byte> ^ get(); };
IReference<byte> ProtocolError();
public System.Nullable<byte> ProtocolError { get; }
var iReference = gattReadResult.protocolError;
Public ReadOnly Property ProtocolError As Nullable(Of Byte)

属性值

协议错误。 可以在 GattProtocolError 中找到包含字节值的错误列表。

Windows 要求

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

适用于