GrainTimerCreationOptions Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for creating grain timers.
public readonly struct GrainTimerCreationOptions
type GrainTimerCreationOptions = struct
Public Structure GrainTimerCreationOptions
- Inheritance
-
GrainTimerCreationOptions
Constructors
GrainTimerCreationOptions() |
Obsolete.
Options for creating grain timers. |
GrainTimerCreationOptions(TimeSpan, TimeSpan) |
Initializes a new GrainTimerCreationOptions instance. |
Properties
DueTime |
A TimeSpan representing the amount of time to delay before invoking the callback method specified when the IGrainTimer was constructed. Specify InfiniteTimeSpan to prevent the timer from starting. Specify Zero to start the timer immediately. |
Interleave |
Gets a value indicating whether callbacks scheduled by this timer are allowed to interleave execution with other timers and grain calls.
Defaults to |
KeepAlive |
Gets a value indicating whether callbacks scheduled by this timer should extend the lifetime of the grain activation.
Defaults to |
Period |
The time interval between invocations of the callback method specified when the IGrainTimer was constructed. Specify InfiniteTimeSpan to disable periodic signaling. |