IAsyncEwsClient.SetConversationReadStateAsync

IAsyncEwsClient.SetConversationReadStateAsync method

Set read state of the conversation items, which are located in the specified folder, to the specified value

public Task SetConversationReadStateAsync(string conversationId, bool isRead = true, 
    string contextFolderId = null, CancellationToken cancellationToken = default)
ParameterTypeDescription
conversationIdStringId of conversation to be changed
isReadBooleanA flag that enables setting the read state of items in a conversation.
contextFolderIdStringId of folder in which conversation items are located. Note: If it’s set to null(or empty), all conversation items will be copied
cancellationTokenCancellationTokenThe cancellation token.

Exceptions

exceptioncondition
AsposeArgumentExceptionconversationId is null or empty

See Also