語言

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

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

適用於