IAsyncEwsClient.MarkAllItemsAsync

IAsyncEwsClient.MarkAllItemsAsync method

Marks all items in specified folders.

public Task MarkAllItemsAsync(IEnumerable<string> folderIds = null, bool read = true, 
    bool suppressReadReceipts = true, CancellationToken cancellationToken = default)
ParameterTypeDescription
readIEnumerable`1Sets the read/unread state to messages in specified folder. True to mark messages in the folder as read. False to mark messages as unread.
suppressReadReceiptsBooleanTrue to suppress sending read receipts for messages; otherwise, false.
folderIdsBooleanList of folder URIs for processing. Set to Inbox URI by default.
cancellationTokenCancellationTokenThe cancellation token.

See Also