ExchangeService.SetReadStateForItemsInConversations Method

Definition

Overloads

SetReadStateForItemsInConversations(IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>, FolderId, Boolean)

Sets the read state of items in a conversation.The SetReadStateForItemsInConversations(IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>, FolderId, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

SetReadStateForItemsInConversations(IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>, FolderId, Boolean, Boolean)

Sets the read state of items in a conversation and optionally sets a value that suppresses read receipts. The SetReadStateForItemsInConversations(IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>, FolderId, Boolean, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

SetReadStateForItemsInConversations(IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>, FolderId, Boolean)

Sets the read state of items in a conversation.The SetReadStateForItemsInConversations(IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>, FolderId, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::ServiceResponse ^> ^ SetReadStateForItemsInConversations(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Microsoft::Exchange::WebServices::Data::ConversationId ^, Nullable<DateTime>>> ^ idLastSyncTimePairs, Microsoft::Exchange::WebServices::Data::FolderId ^ contextFolderId, bool isRead);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.ServiceResponse> SetReadStateForItemsInConversations (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.Exchange.WebServices.Data.ConversationId,Nullable<DateTime>>> idLastSyncTimePairs, Microsoft.Exchange.WebServices.Data.FolderId contextFolderId, bool isRead);
Public Function SetReadStateForItemsInConversations (idLastSyncTimePairs As IEnumerable(Of KeyValuePair(Of ConversationId, Nullable(Of DateTime))), contextFolderId As FolderId, isRead As Boolean) As ServiceResponseCollection(Of ServiceResponse)

Parameters

idLastSyncTimePairs
IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>

A collection of conversation IDs and an associated time stamp used to determine which conversations need to be updated.

contextFolderId
FolderId

The folder ID of the folder that contains the specified conversation.

isRead
Boolean

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

Returns

A ServiceResponse object.

Remarks

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

Applies to

SetReadStateForItemsInConversations(IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>, FolderId, Boolean, Boolean)

Sets the read state of items in a conversation and optionally sets a value that suppresses read receipts. The SetReadStateForItemsInConversations(IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>, FolderId, Boolean, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::ServiceResponse ^> ^ SetReadStateForItemsInConversations(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Microsoft::Exchange::WebServices::Data::ConversationId ^, Nullable<DateTime>>> ^ idLastSyncTimePairs, Microsoft::Exchange::WebServices::Data::FolderId ^ contextFolderId, bool isRead, bool suppressReadReceipts);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.ServiceResponse> SetReadStateForItemsInConversations (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.Exchange.WebServices.Data.ConversationId,Nullable<DateTime>>> idLastSyncTimePairs, Microsoft.Exchange.WebServices.Data.FolderId contextFolderId, bool isRead, bool suppressReadReceipts);
Public Function SetReadStateForItemsInConversations (idLastSyncTimePairs As IEnumerable(Of KeyValuePair(Of ConversationId, Nullable(Of DateTime))), contextFolderId As FolderId, isRead As Boolean, suppressReadReceipts As Boolean) As ServiceResponseCollection(Of ServiceResponse)

Parameters

idLastSyncTimePairs
IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>

A collection of conversation IDs and an associated time stamp used to determine which conversations need to be updated.

contextFolderId
FolderId

The ID of the folder that contains the conversation.

isRead
Boolean

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

suppressReadReceipts
Boolean

true if read receipts are suppressed; otherwise, false.

Returns

A ServiceResponse object.

Remarks

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

Applies to