## IGraphClientAsync.SetReadAsync method

Asynchronously sets a message as read by its ID.

```csharp
public Task SetReadAsync(string itemId, CancellationToken cancellationToken = default)
```

| Parameter | Type | Description |
| --- | --- | --- |
| itemId | String | The ID of the message to mark as read. |
| cancellationToken | CancellationToken | A cancellation token to observe while waiting for the task to complete. |

### Return Value

A task that represents the asynchronous operation.

### See Also

* interface [IGraphClientAsync](../)
* namespace [Aspose.Email.Clients.Graph](../../igraphclientasync/)
* assembly [Aspose.Email](../../../)


