IAsyncEwsClient.CopyConversationItemsAsync

IAsyncEwsClient.CopyConversationItemsAsync method

Copies the conversation items, which are located in the specified folder, into the specified target folder

public Task CopyConversationItemsAsync(string conversationId, string destinationFolderId, 
    string contextFolderId = null, CancellationToken cancellationToken = default)
ParameterTypeDescription
conversationIdStringId of conversation to copy
destinationFolderIdStringId of folder into which copy items
contextFolderIdStringId of folder in which conversation items are located. Note: If it’s set to null(or empty), all conversation items will be copied
cancellationTokenCancellationTokenThe cancellation token.

Exceptions

exceptioncondition
AsposeArgumentExceptionconversationId is null or empty
AsposeArgumentExceptiondestinationFolderId is null or empty

See Also