IActivatedEventArgs.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 = iActivatedEventArgs.previousExecutionState;
Public ReadOnly Property PreviousExecutionState As ApplicationExecutionState

Property Value

One of the enumeration values.

Remarks

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

Applies to