Szerkesztés

Megosztás a következőn keresztül:


DurableTimerExtension.OnRegisterTimer(TimeSpan, Bookmark) Method

Definition

Adds a timer object that contains the specified time span and bookmark information to the table of registered timers for the current workflow operation.

protected:
 override void OnRegisterTimer(TimeSpan timeout, System::Activities::Bookmark ^ bookmark);
protected override void OnRegisterTimer (TimeSpan timeout, System.Activities.Bookmark bookmark);
override this.OnRegisterTimer : TimeSpan * System.Activities.Bookmark -> unit
Protected Overrides Sub OnRegisterTimer (timeout As TimeSpan, bookmark As Bookmark)

Parameters

timeout
TimeSpan

A time span object that is added to the timer registration table entry in a workflow operation along with callback information.

bookmark
Bookmark

A point at which a workflow or activity can passively wait to be resumed following the expiration of a timer object.

Applies to