CopyItemsInConversations method

Future<ServiceResponseCollection<ServiceResponse>> CopyItemsInConversations(
  1. Iterable<MapEntry<ConversationId, DateTime?>> idLastSyncTimePairs,
  2. FolderId? contextFolderId,
  3. FolderId destinationFolderId
)
Copies 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 copied and the date and time conversation was last synced (Items received after that date will not be copied). The context folder id. The destination folder id.

Implementation

Future<ServiceResponseCollection<ServiceResponse>> CopyItemsInConversations(
  Iterable<MapEntry<ConversationId, DateTime?>> idLastSyncTimePairs,
  FolderId? contextFolderId,
  FolderId destinationFolderId,
) {
  EwsUtilities.ValidateParam(destinationFolderId, "destinationFolderId");
  return ApplyConversationOneTimeAction(
    ConversationActionType.Copy,
    idLastSyncTimePairs,
    contextFolderId,
    destinationFolderId,
    null,
    null,
    null,
    null,
    null,
    null,
    ServiceErrorHandling.ReturnErrors,
  );
}