# IReminderService.GetReminder(GrainId, string, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.reminders/orleans.ireminderservice/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.reminders/orleans.ireminderservice/methods/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Reminders/SystemTargetInterfaces/IReminderService.cs#L104)

```csharp
[Orleans.Alias(AC622EEB)]
public virtual Task<IGrainReminder?> GetReminder(GrainId grainId, string reminderName, CancellationToken cancellationToken)
```

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

### Parameters

- `grainId` (`GrainId`): A reference to the grain which the reminder is registered on.
- `reminderName` (`string`): The name of the reminder.
- `cancellationToken` (`CancellationToken`): The cancellation token.

### Returns

The reminder.
