IAsyncEwsClient.MoveConversationItemsAsync

IAsyncEwsClient.MoveConversationItemsAsync method

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

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

Exceptions

exceptioncondition
AsposeArgumentExceptionconversationId is null or empty
AsposeArgumentExceptiondestinationFolderId is null or empty

See Also