# GrainReminderExtensions.UnregisterReminder(Grain, IGrainReminder, CancellationToken)

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

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

```csharp
public static Task UnregisterReminder(this Grain grain, IGrainReminder reminder, CancellationToken cancellationToken)
```

Unregisters a previously registered reminder.

### Parameters

- `grain` (`Grain`): The grain instance.
- `reminder` (`IGrainReminder`): The reminder.
- `cancellationToken` (`CancellationToken`): The cancellation token.

### Returns

A task representing the operation.
