RegisterOrUpdateReminder(GrainId, string, TimeSpan, TimeSpan, CancellationToken)
virtual
public virtual Task<IGrainReminder> RegisterOrUpdateReminder(GrainId callingGrainId, string reminderName, TimeSpan dueTime, TimeSpan period, CancellationToken cancellationToken) Registers or updates a reminder for the specified grain.
Parameters
callingGrainIdGrainId- The ID of the currently executing grain.
reminderNamestring- The reminder name.
dueTimeTimeSpan- The amount of time to delay before initially invoking the reminder.
periodTimeSpan- The time interval between invocations of the reminder.
cancellationTokenCancellationToken- The cancellation token.
Returns
The reminder.
