Redigera

Dela via


GrainReminderExtensions.GetReminder Method

Definition

Overloads

GetReminder(Grain, String)

Returns a previously registered reminder.

GetReminder(IGrainBase, String)

Returns a previously registered reminder.

GetReminder(Grain, String)

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

GetReminder(IGrainBase, String)

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.

Applies to