共用方式為


WebUIStartupTaskActivatedEventArgs.PreviousExecutionState 屬性

定義

取得應用程式啟動前的執行狀態。

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

屬性值

啟動應用程式之前的執行狀態。

實作

備註

應用程式會使用這項資訊來判斷它是否應該還原儲存的狀態。

適用於