LaunchActivatedEventArgs.PreviousExecutionState LaunchActivatedEventArgs.PreviousExecutionState LaunchActivatedEventArgs.PreviousExecutionState LaunchActivatedEventArgs.PreviousExecutionState LaunchActivatedEventArgs.PreviousExecutionState Property

Definition

Gets the execution state of the app before this activation.

public : ApplicationExecutionState PreviousExecutionState { get; }
ApplicationExecutionState PreviousExecutionState();
public ApplicationExecutionState PreviousExecutionState { get; }
Public ReadOnly Property PreviousExecutionState As ApplicationExecutionState
var applicationExecutionState = launchActivatedEventArgs.previousExecutionState;

Property Value

Remarks

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