RestrictedLaunchActivatedEventArgs Class

Definition

Provides event information when a restricted app is launched.

JavaScript This type appears as WebUIRestrictedLaunchActivatedEventArgs.

public ref class RestrictedLaunchActivatedEventArgs sealed : IRestrictedLaunchActivatedEventArgs
public ref class RestrictedLaunchActivatedEventArgs sealed : IActivatedEventArgsWithUser, IRestrictedLaunchActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class RestrictedLaunchActivatedEventArgs final : IRestrictedLaunchActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class RestrictedLaunchActivatedEventArgs final : IActivatedEventArgsWithUser, IRestrictedLaunchActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class RestrictedLaunchActivatedEventArgs : IRestrictedLaunchActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class RestrictedLaunchActivatedEventArgs : IActivatedEventArgsWithUser, IRestrictedLaunchActivatedEventArgs
Public NotInheritable Class RestrictedLaunchActivatedEventArgs
Implements IRestrictedLaunchActivatedEventArgs
Public NotInheritable Class RestrictedLaunchActivatedEventArgs
Implements IActivatedEventArgsWithUser, IRestrictedLaunchActivatedEventArgs
Inheritance
Object Platform::Object IInspectable RestrictedLaunchActivatedEventArgs
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

This object is accessed when you respond to Activated events when ActivationKind is RestrictedLaunch.

Version history

Windows version SDK version Value added
1607 14393 User

Properties

Kind

Gets the activation type.

PreviousExecutionState

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

SharedContext

Gets information about a shared context for the restricted launch.

SplashScreen

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

User

Gets the user that the app was activated for.

Applies to

See also