GrainReminderExtensions.GetReminder Method
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.
GetReminder(Grain, String) |
Returns a previously registered reminder. |
GetReminder(IGrainBase, String) |
Returns a previously registered reminder. |
Returns a previously registered reminder.
public static System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder?> GetReminder (this Orleans.Grain grain, string reminderName);
static member GetReminder : Orleans.Grain * string -> System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder>
<Extension()>
Public Function GetReminder (grain As Grain, reminderName As String) As Task(Of IGrainReminder)
Parameters
- grain
- Grain
The grain instance.
- reminderName
- String
Reminder to return
Returns
Promise for Reminder handle.
Applies to
Returns a previously registered reminder.
public static System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder?> GetReminder (this Orleans.IGrainBase grain, string reminderName);
static member GetReminder : Orleans.IGrainBase * string -> System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder>
<Extension()>
Public Function GetReminder (grain As IGrainBase, reminderName As String) As Task(Of IGrainReminder)
Parameters
- grain
- IGrainBase
A grain.
- reminderName
- String
Reminder to return
Returns
Promise for Reminder handle.