Redigera

Dela via


IReminderRegistry.GetReminder Method

Definition

Overloads

GetReminder(String)
GetReminder(GrainId, String)

Gets the reminder with the specified name which is registered to the currently active grain.

GetReminder(String)

Source:
IReminderRegistry.cs
public System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder> GetReminder (string reminderName);
abstract member GetReminder : string -> System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder>
Public Function GetReminder (reminderName As String) As Task(Of IGrainReminder)

Parameters

reminderName
String

Returns

Applies to

GetReminder(GrainId, String)

Gets the reminder with the specified name which is registered to the currently active grain.

public System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder> GetReminder (Orleans.Runtime.GrainId callingGrainId, string reminderName);
abstract member GetReminder : Orleans.Runtime.GrainId * string -> System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder>
Public Function GetReminder (callingGrainId As GrainId, reminderName As String) As Task(Of IGrainReminder)

Parameters

callingGrainId
GrainId

The ID of the the currently executing grain

reminderName
String

The reminder name.

Returns

The reminder.

Applies to