StartupTaskActivatedEventArgs.PreviousExecutionState Property

Definition

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

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

Property Value

The execution state before the app was activated.

Implements

Remarks

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

Applies to