共用方式為


TimerExtension.RegisterTimer(TimeSpan, Bookmark) 方法

定義

建立具有指定持續期間已相關聯的計時器。

public:
 void RegisterTimer(TimeSpan timeout, System::Activities::Bookmark ^ bookmark);
public void RegisterTimer (TimeSpan timeout, System.Activities.Bookmark bookmark);
member this.RegisterTimer : TimeSpan * System.Activities.Bookmark -> unit
Public Sub RegisterTimer (timeout As TimeSpan, bookmark As Bookmark)

參數

timeout
TimeSpan

計時器的持續期間。

bookmark
Bookmark

與此計時器相關聯之書籤,會於計時器逾時的時候繼續執行。

適用於