IGraphClientAsync.FetchMessageAsync
IGraphClientAsync.FetchMessageAsync method
Asynchronously fetches a message by its ID.
public Task<MapiMessage> FetchMessageAsync(string id, CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| id | String | The ID of the message to fetch. |
| cancellationToken | CancellationToken | A cancellation token to observe while waiting for the task to complete. |
Return Value
A task that represents the asynchronous operation. The task result contains the fetched MapiMessage.
See Also
- class MapiMessage
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email