GattReadClientCharacteristicConfigurationDescriptorResult 类

定义

表示读取 GATT Client CharacteristicConfigurationClientDescriptor 值的结果。

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

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
bluetooth

注解

ReadClientCharacteristicConfigurationDescriptorAsync 方法用于检索 GattReadClientCharacteristicConfigurationDescriptorResult 对象。

返回的 GattReadClientCharacteristicConfigurationDescriptorResult 上的 Status 属性指示操作的结果是否成功。

版本历史记录

Windows 版本 SDK 版本 已添加值
1703 15063 ProtocolError

属性

ClientCharacteristicConfigurationDescriptor

获取异步读取操作的结果。

ProtocolError

获取协议错误。

Status

获取异步操作的状态。

适用于

另请参阅