共用方式為


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

取得造成觸發程式引發之裝置的裝置識別碼。

適用於