Share via


TimerExtension.OnRegisterTimer(TimeSpan, Bookmark) 方法

定义

RegisterTimer(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

与计时器关联的书签(要在计时器过期时恢复)。

适用于