IActivatedEventArgs IActivatedEventArgs IActivatedEventArgs Interface

Definition

Provides common properties for all activation types.

public interface IActivatedEventArgspublic interface IActivatedEventArgsPublic Interface IActivatedEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Do not implement this interface.

Properties

Kind Kind Kind

Gets the reason that this app is being activated.

public ActivationKind Kind { get; }public ActivationKind Kind { get; }Public ReadOnly Property Kind As ActivationKind
Value
ActivationKind ActivationKind ActivationKind

One of the enumeration values.

Attributes

PreviousExecutionState PreviousExecutionState PreviousExecutionState

Gets the execution state of the app before this activation.

public ApplicationExecutionState PreviousExecutionState { get; }public ApplicationExecutionState PreviousExecutionState { get; }Public ReadOnly Property PreviousExecutionState As ApplicationExecutionState
Attributes

Remarks

The app uses this information to determine whether it should restore saved state.

SplashScreen SplashScreen SplashScreen

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

public SplashScreen SplashScreen { get; }public SplashScreen SplashScreen { get; }Public ReadOnly Property SplashScreen As SplashScreen
Value
SplashScreen SplashScreen SplashScreen

The splash screen object.

Attributes

Remarks

This property is only meaningful when the app is activated under a contract that expects a window to be presented. If the contract doesn't require a window or if the app is being activated for a background task, this call will fail.