DeviceConnectionChangeTriggerDetails 类

定义

提供有关导致此触发器触发的设备的信息。

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

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

属性

DeviceId

获取导致此触发器触发的设备的设备 ID。

适用于