RegisterOrUpdateReminder(GrainId, string, TimeSpan, TimeSpan)
abstract
public abstract Task<IGrainReminder> RegisterOrUpdateReminder(GrainId callingGrainId, string reminderName, TimeSpan dueTime, TimeSpan period) Register or update the reminder with the specified name for the currently active grain.
Parameters
callingGrainIdGrainId- The ID of the the currently executing grain
reminderNamestring- The reminder name.
dueTimeTimeSpan- The amount of time to delay before initially invoking the reminder. A value of
System.TimeSpan.Zeromeans the first tick is scheduled immediately; negative, infinite, or values which exceed the remainingSystem.DateTimerange are rejected. periodTimeSpan- The time interval between invocations of the reminder. The value must be at least
ReminderOptions; smaller values andSystem.Threading.Timeout.InfiniteTimeSpanare rejected.
Returns
The reminder.
