GrainTimerCreationOptions Constructors
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.
Overloads
GrainTimerCreationOptions() |
Obsolete.
Options for creating grain timers. |
GrainTimerCreationOptions(TimeSpan, TimeSpan) |
Initializes a new GrainTimerCreationOptions instance. |
GrainTimerCreationOptions()
Caution
Constructors of types with required members are not supported in this version of your compiler.
Options for creating grain timers.
[System.Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public GrainTimerCreationOptions ();
Public Sub New ()
- Attributes
Applies to
GrainTimerCreationOptions(TimeSpan, TimeSpan)
Initializes a new GrainTimerCreationOptions instance.
public GrainTimerCreationOptions (TimeSpan dueTime, TimeSpan period);
new Orleans.Runtime.GrainTimerCreationOptions : TimeSpan * TimeSpan -> Orleans.Runtime.GrainTimerCreationOptions
Public Sub New (dueTime As TimeSpan, period As TimeSpan)
Parameters
- dueTime
- TimeSpan
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.
- period
- TimeSpan
The time interval between invocations of the callback method specified when the IGrainTimer was constructed. Specify InfiniteTimeSpan to disable periodic signaling.