IAsyncEwsClient.SetReadFlagAsync
IAsyncEwsClient.SetReadFlagAsync method
Marks the specified message as read.
public Task SetReadFlagAsync(string messageUri, bool isRead = true,
CancellationToken cancellationToken = default)
Parameter | Type | Description |
---|---|---|
messageUri | String | A message uri. |
isRead | Boolean | A value indicating whether the message was read |
cancellationToken | CancellationToken | The cancellation token. |
Exceptions
exception | condition |
---|---|
AsposeArgumentException | messageUri is null or empty . |
See Also
- interface IAsyncEwsClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email