MoveItemsInConversations method
Moves the items in the specified conversation to the specified destination folder.
Calling this method results in a call to EWS.
The pairs of Id of conversation whose
items should be moved and the dateTime conversation was last synced
(Items received after that dateTime will not be moved).
The Id of the folder that contains the conversation.
The Id of the destination folder.
Implementation
Future<ServiceResponseCollection<ServiceResponse>> MoveItemsInConversations(
Iterable<MapEntry<ConversationId, DateTime?>> idLastSyncTimePairs,
FolderId? contextFolderId,
FolderId destinationFolderId,
) {
EwsUtilities.ValidateParam(destinationFolderId, "destinationFolderId");
return ApplyConversationOneTimeAction(
ConversationActionType.Move,
idLastSyncTimePairs,
contextFolderId,
destinationFolderId,
null,
null,
null,
null,
null,
null,
ServiceErrorHandling.ReturnErrors,
);
}