DevicePairingActivatedEventArgs 类

定义

提供由于设备配对而激活应用时的信息。

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
继承
Object Platform::Object IInspectable DevicePairingActivatedEventArgs
属性
实现

Windows 要求

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

注解

版本历史记录

Windows 版本 SDK 版本 已添加值
1607 14393 用户

属性

DeviceInformation

获取正在配对的设备对象的 DeviceInformation 对象。

Kind

获取激活类型。

PreviousExecutionState

获取应用在激活前的执行状态。

SplashScreen

获取初始屏幕对象,该对象提供有关从初始屏幕过渡到激活的应用的信息。

User

获取为其激活应用的用户。

适用于

另请参阅