共用方式為


IActivatedEventArgs.PreviousExecutionState 屬性

定義

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

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

屬性值

其中一個列舉值。

備註

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

適用於