Skip to content

GrainTimerCreationOptions Constructors

Options for creating grain timers.

GrainTimerCreationOptions(TimeSpan, TimeSpan)

View source
public GrainTimerCreationOptions(TimeSpan dueTime, TimeSpan period)
Initializes a new GrainTimerCreationOptions instance.

Parameters

dueTimeTimeSpan
A System.TimeSpan representing the amount of time to delay before invoking the callback method specified when the IGrainTimer was constructed. Specify System.Threading.Timeout.InfiniteTimeSpan to prevent the timer from starting. Specify System.TimeSpan.Zero to start the timer immediately.
periodTimeSpan
The time interval between invocations of the callback method specified when the IGrainTimer was constructed. Specify System.Threading.Timeout.InfiniteTimeSpan to disable periodic signaling.