IActivatedEventArgs.PreviousExecutionState 属性

定义

获取此激活前应用的执行状态。

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

属性值

枚举值之一。

注解

应用使用此信息确定是否应还原保存的状态。

适用于