GattServiceProviderTriggerResult 类

定义

此类包含由 GattServiceProviderTrigger.CreateAsync () 创建的触发器。

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

Windows 要求

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

属性

Error

获取创建触发器的状态。

Trigger

获取由 GattServiceProviderTrigger.CreateAsync 创建的触发器

适用于