Udostępnij za pośrednictwem


DevicePairingActivatedEventArgs Class

Definition

Provides information when an app is activated as a result of a device pairing.

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
Inheritance
Object Platform::Object IInspectable DevicePairingActivatedEventArgs
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Remarks

Version history

Windows version SDK version Value added
1607 14393 User

Properties

DeviceInformation

Gets the DeviceInformation object for the device object that is being paired.

Kind

Gets the activation type.

PreviousExecutionState

Gets the execution state of the app before it was activated.

SplashScreen

Gets the splash screen object which provides information about the transition from the splash screen to the activated app.

User

Gets the user the app was activated for.

Applies to

See also