WebUIStartupTaskActivatedEventArgs.PreviousExecutionState 属性

定义

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

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

属性值

激活应用之前的执行状态。

实现

注解

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

适用于