IReminderService.GetReminders Method
Definition
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.
Overloads
GetReminders(GrainId) |
Gets all reminders registered for the specified grain. |
GetReminders(GrainReference) |
GetReminders(GrainId)
Gets all reminders registered for the specified grain.
public System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Runtime.IGrainReminder>> GetReminders (Orleans.Runtime.GrainId grainId);
abstract member GetReminders : Orleans.Runtime.GrainId -> System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Runtime.IGrainReminder>>
Public Function GetReminders (grainId As GrainId) As Task(Of List(Of IGrainReminder))
Parameters
- grainId
- GrainId
A reference to the grain.
Returns
A list of all registered reminders for the specified grain.
Applies to
GetReminders(GrainReference)
- Source:
- IReminderService.cs
public System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Runtime.IGrainReminder>> GetReminders (Orleans.Runtime.GrainReference grainRef);
abstract member GetReminders : Orleans.Runtime.GrainReference -> System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Runtime.IGrainReminder>>
Public Function GetReminders (grainRef As GrainReference) As Task(Of List(Of IGrainReminder))
Parameters
- grainRef
- GrainReference