語言

TimerExtension.OnRegisterTimer(TimeSpan, Bookmark) 方法

定義

被方法所稱 RegisterTimer(TimeSpan, Bookmark) 呼。

protected:
 abstract void OnRegisterTimer(TimeSpan timeout, System::Activities::Bookmark ^ bookmark);
protected abstract void OnRegisterTimer(TimeSpan timeout, System.Activities.Bookmark bookmark);
abstract member OnRegisterTimer : TimeSpan * System.Activities.Bookmark -> unit
Protected MustOverride Sub OnRegisterTimer (timeout As TimeSpan, bookmark As Bookmark)

參數

timeout
TimeSpan

計時器的持續時間。

bookmark
Bookmark

與計時器相關的書籤,計時器結束後再繼續使用。

適用於