SetFlagStatusForItemsInConversations method
Sets flag status for items in conversation. Calling this method would result in call to EWS.
The pairs of Id of conversation whose
items should have their read state set and the date and time conversation
was last synced (Items received after that date will not have their read
state set).
The Id of the folder that contains the conversation.
Flag status to apply to conversation items.
Implementation
Future<ServiceResponseCollection<ServiceResponse>>
SetFlagStatusForItemsInConversations(
Iterable<MapEntry<ConversationId, DateTime?>> idLastSyncTimePairs,
FolderId? contextFolderId,
Flag flagStatus,
) {
EwsUtilities.ValidateMethodVersion(
this,
ExchangeVersion.Exchange2013,
"SetFlagStatusForItemsInConversations",
);
return ApplyConversationOneTimeAction(
ConversationActionType.Flag,
idLastSyncTimePairs,
contextFolderId,
null,
null,
null,
null,
null,
flagStatus,
null,
ServiceErrorHandling.ReturnErrors,
);
}