GrainTimerCreationOptions
struct
Namespace: Orleans.Runtime
Options for creating grain timers.
public readonly struct GrainTimerCreationOptionsConstructors
GrainTimerCreationOptionsOptions for creating grain timers.GrainTimerCreationOptions(TimeSpan, TimeSpan)Initializes a newGrainTimerCreationOptionsinstance.
Properties
DueTimeASystem.TimeSpanrepresenting the amount of time to delay before invoking the callback method specified when theIGrainTimerwas constructed. SpecifySystem.Threading.Timeout.InfiniteTimeSpanto prevent the timer from starting. SpecifySystem.TimeSpan.Zeroto start the timer immediately.InterleaveGets a value indicating whether callbacks scheduled by this timer are allowed to interleave execution with other timers and grain calls. Defaults tofalse.KeepAliveGets a value indicating whether callbacks scheduled by this timer should extend the lifetime of the grain activation. Defaults tofalse.PeriodThe time interval between invocations of the callback method specified when theIGrainTimerwas constructed. SpecifySystem.Threading.Timeout.InfiniteTimeSpanto disable periodic signaling.
