# AzureBasedReminderTable Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.reminders.azurestorage/orleans.runtime.reminderservice.azurebasedremindertable/)

## ReadRow(GrainId, string) {#readrow-orleans-runtime-grainid-string-ff04eaa0}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.azurestorage/orleans.runtime.reminderservice.azurebasedremindertable/methods/readrow-orleans-runtime-grainid-string-ff04eaa0/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs#L200-L211)

```csharp
public Task<ReminderEntry> ReadRow(GrainId grainId, string reminderName)
```

Reads the specified entry.

### Parameters

- `grainId` (`GrainId`): The grain ID.
- `reminderName` (`string`): Name of the reminder.

### Returns

The reminder table entry.

## ReadRows(GrainId) {#readrows-orleans-runtime-grainid-30db3fd5}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.azurestorage/orleans.runtime.reminderservice.azurebasedremindertable/methods/readrows-orleans-runtime-grainid-30db3fd5/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs)

```csharp
public Task<ReminderTableData> ReadRows(GrainId grainId)
```

Reads the reminder table entries associated with the specified grain.

### Parameters

- `grainId` (`GrainId`): The grain ID.

### Returns

The reminder table entries associated with the specified grain.

## ReadRows(uint, uint) {#readrows-uint-uint-7c867f3d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.azurestorage/orleans.runtime.reminderservice.azurebasedremindertable/methods/readrows-uint-uint-7c867f3d/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs)

```csharp
public Task<ReminderTableData> ReadRows(uint begin, uint end)
```

Returns all rows that have their [GrainId](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainid/) in the range (begin, end]. If begin is greater or equal to end, returns all entries with hash greater begin or hash less or equal to end.

### Parameters

- `begin` (`uint`): The exclusive lower bound.
- `end` (`uint`): The inclusive upper bound.

### Returns

The reminder table entries which fall within the specified range.

## RemoveRow(GrainId, string, string) {#removerow-orleans-runtime-grainid-string-string-53e937a4}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.azurestorage/orleans.runtime.reminderservice.azurebasedremindertable/methods/removerow-orleans-runtime-grainid-string-string-53e937a4/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs#L238-L263)

```csharp
public Task<bool> RemoveRow(GrainId grainId, string reminderName, string eTag)
```

Removes a row from the table.

### Parameters

- `grainId` (`GrainId`): The grain ID.
- `reminderName` (`string`): The reminder name.
- `eTag` (`string`): The ETag.

### Returns

true if a row with `grainId` and `reminderName` existed and was removed successfully, false otherwise

## StartAsync(CancellationToken) {#startasync-system-threading-cancellationtoken-0dd3a990}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.azurestorage/orleans.runtime.reminderservice.azurebasedremindertable/methods/startasync-system-threading-cancellationtoken-0dd3a990/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs#L48-L71)

```csharp
public Task StartAsync(CancellationToken cancellationToken)
```

Initializes this instance.

### Parameters

- `cancellationToken` (`CancellationToken`)

### Returns

A `System.Threading.Tasks.Task` representing the work performed.

## StopAsync(CancellationToken) {#stopasync-system-threading-cancellationtoken-38d93b0a}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.azurestorage/orleans.runtime.reminderservice.azurebasedremindertable/methods/stopasync-system-threading-cancellationtoken-38d93b0a/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs#L75-L76)

```csharp
public Task StopAsync(CancellationToken cancellationToken)
```

Stops the reminder table.

### Parameters

- `cancellationToken` (`CancellationToken`): The cancellation token.

### Returns

A `System.Threading.Tasks.Task` representing the work performed.

## TestOnlyClearTable {#testonlycleartable-6db9460f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.azurestorage/orleans.runtime.reminderservice.azurebasedremindertable/methods/testonlycleartable-6db9460f/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs#L155-L158)

```csharp
public Task TestOnlyClearTable()
```

Clears the table.

### Returns

A `System.Threading.Tasks.Task` representing the work performed.

## UpsertRow(ReminderEntry) {#upsertrow-orleans-reminderentry-75f5eb10}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.azurestorage/orleans.runtime.reminderservice.azurebasedremindertable/methods/upsertrow-orleans-reminderentry-75f5eb10/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs#L217-L234)

```csharp
public Task<string> UpsertRow(ReminderEntry entry)
```

Upserts the specified entry.

### Parameters

- `entry` (`ReminderEntry`): The entry.

### Returns

The row's new ETag.
