Edit

Share via


Conversation.SetReadStateForItemsInConversation Method

Definition

Overloads

SetReadStateForItemsInConversation(FolderId, Boolean)

Sets the read state of items in a conversation.The SetReadStateForItemsInConversation(FolderId, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

SetReadStateForItemsInConversation(FolderId, Boolean, Boolean)

Sets the read state of items in the specified conversation. The SetReadStateForItemsInConversation(FolderId, Boolean, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

SetReadStateForItemsInConversation(FolderId, Boolean)

Sets the read state of items in a conversation.The SetReadStateForItemsInConversation(FolderId, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 void SetReadStateForItemsInConversation(Microsoft::Exchange::WebServices::Data::FolderId ^ contextFolderId, bool isRead);
public void SetReadStateForItemsInConversation (Microsoft.Exchange.WebServices.Data.FolderId contextFolderId, bool isRead);
Public Sub SetReadStateForItemsInConversation (contextFolderId As FolderId, isRead As Boolean)

Parameters

contextFolderId
FolderId

The identifier of the folder whose items will have their read state updated. If the value of the contextFolderId parameter is a null reference (Nothing in Visual Basic), the read state of all items in the associated conversation across an entire mailbox will be updated.

isRead
Boolean

true if conversation items are marked as read; otherwise, false.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Applies to

SetReadStateForItemsInConversation(FolderId, Boolean, Boolean)

Sets the read state of items in the specified conversation. The SetReadStateForItemsInConversation(FolderId, Boolean, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 void SetReadStateForItemsInConversation(Microsoft::Exchange::WebServices::Data::FolderId ^ contextFolderId, bool isRead, bool suppressReadReceipts);
public void SetReadStateForItemsInConversation (Microsoft.Exchange.WebServices.Data.FolderId contextFolderId, bool isRead, bool suppressReadReceipts);
Public Sub SetReadStateForItemsInConversation (contextFolderId As FolderId, isRead As Boolean, suppressReadReceipts As Boolean)

Parameters

contextFolderId
FolderId

The identifier of the folder whose items will have their read state updated. If the value of the contextFolderId parameter is a null reference (Nothing in Visual Basic), the read states of items across the entire mailbox are set.

isRead
Boolean

true, if conversation items are marked as read; otherwise, false.

suppressReadReceipts
Boolean

true if read receipts are suppressed; otherwise, false.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Applies to