Edytuj

Udostępnij za pośrednictwem


IReminderService.GetReminder Method

Definition

Overloads

GetReminder(GrainId, String)

Gets the reminder registered to the specified grain with the provided name.

GetReminder(GrainReference, String)

GetReminder(GrainId, String)

Gets the reminder registered to the specified grain with the provided name.

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

Parameters

grainId
GrainId

A reference to the grain which the reminder is registered on.

reminderName
String

The name of the reminder.

Returns

The reminder.

Applies to

GetReminder(GrainReference, String)

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

Parameters

grainRef
GrainReference
reminderName
String

Returns

Applies to