语言

TimerExtension.OnRegisterTimer(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

与计时器关联的书签,将在计时器过期时恢复。

适用于