TimerExtension.RegisterTimer(TimeSpan, Bookmark) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立具有指定持續期間已相關聯的計時器。
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
與此計時器相關聯之書籤,會於計時器逾時的時候繼續執行。