GattDescriptorsResult 类

定义

描述符操作的结果,如 GattCharacteristic.GetDescriptorsAsync

public ref class GattDescriptorsResult 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 GattDescriptorsResult 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 sealed class GattDescriptorsResult
Public NotInheritable Class GattDescriptorsResult
继承
Object Platform::Object IInspectable GattDescriptorsResult
属性

Windows 要求

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

属性

Descriptors

获取 GATT 描述符的向量。

ProtocolError

获取 GATT 协议错误。

Status

获取操作的状态。

适用于