IAsyncEwsClient.SetReadFlagAsync

IAsyncEwsClient.SetReadFlagAsync method

Marks the specified message as read.

public Task SetReadFlagAsync(string messageUri, bool isRead = true, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
messageUriStringA message uri.
isReadBooleanA value indicating whether the message was read
cancellationTokenCancellationTokenThe cancellation token.

Exceptions

exceptioncondition
AsposeArgumentExceptionmessageUri is null or empty.

See Also