DurableTimerExtension.OnRegisterTimer(TimeSpan, Bookmark) 方法

定義

加入計時器物件,其中包含目前工作流程操作之註冊計時器表格的指定時間範圍與書籤資訊。

protected:
 override void OnRegisterTimer(TimeSpan timeout, System::Activities::Bookmark ^ bookmark);
protected override void OnRegisterTimer (TimeSpan timeout, System.Activities.Bookmark bookmark);
override this.OnRegisterTimer : TimeSpan * System.Activities.Bookmark -> unit
Protected Overrides Sub OnRegisterTimer (timeout As TimeSpan, bookmark As Bookmark)

參數

timeout
TimeSpan

時間範圍物件,可連同回呼資訊一起加入目前工作流程操作的計時器註冊表格項目。

bookmark
Bookmark

在計時器物件逾時後,工作流程或活動可被動等候恢復的時間點。

適用於