Edit

Share via


GrainTimerCreationOptions Constructors

Definition

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.

Applies to