TimerExtension.OnRegisterTimer(TimeSpan, Bookmark) 方法
定义
由 RegisterTimer(TimeSpan, Bookmark) 方法调用。Called by the RegisterTimer(TimeSpan, Bookmark) method.
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
计时器的持续时间。The duration of the timer.
- bookmark
- Bookmark
与计时器关联的书签(要在计时器过期时恢复)。The bookmark associated with the timer, to be resumed when the timer expires.