IGraphClientAsync.SetReadAsync

IGraphClientAsync.SetReadAsync method

Asynchronously sets a message as read by its ID.

public Task SetReadAsync(string itemId, CancellationToken cancellationToken = default)
ParameterTypeDescription
itemIdStringThe ID of the message to mark as read.
cancellationTokenCancellationTokenA cancellation token to observe while waiting for the task to complete.

Return Value

A task that represents the asynchronous operation.

See Also