DevicePairingActivatedEventArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供當應用程式因裝置配對而啟動時的資訊。
public ref class DevicePairingActivatedEventArgs sealed : IDevicePairingActivatedEventArgs
public ref class DevicePairingActivatedEventArgs sealed : IActivatedEventArgsWithUser, IDevicePairingActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DevicePairingActivatedEventArgs final : IDevicePairingActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DevicePairingActivatedEventArgs final : IActivatedEventArgsWithUser, IDevicePairingActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DevicePairingActivatedEventArgs : IDevicePairingActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DevicePairingActivatedEventArgs : IActivatedEventArgsWithUser, IDevicePairingActivatedEventArgs
Public NotInheritable Class DevicePairingActivatedEventArgs
Implements IDevicePairingActivatedEventArgs
Public NotInheritable Class DevicePairingActivatedEventArgs
Implements IActivatedEventArgsWithUser, IDevicePairingActivatedEventArgs
- 繼承
- 屬性
- 實作
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10586.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)
|
備註
版本歷程記錄
Windows 版本 | SDK 版本 | 新增值 |
---|---|---|
1607 | 14393 | User |
屬性
DeviceInformation |
取得正在配對之裝置物件的 DeviceInformation 物件。 |
Kind |
取得啟用類型。 |
PreviousExecutionState |
取得應用程式啟動前的執行狀態。 |
SplashScreen |
取得啟動顯示畫面物件,該物件提供從啟動顯示畫面轉換到啟動之應用程式的相關資訊。 |
User |
取得應用程式已啟用的使用者。 |