LaunchActivatedEventArgs.PreviousExecutionState Property

Definition

Gets the execution state of the app before this activation.

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

Property Value

ApplicationExecutionState

One of the enumeration values.

Implements

Remarks

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

Applies to