IAsyncEwsClient.CopyItemAsync

IAsyncEwsClient.CopyItemAsync method

Copies the item to specified folder

public Task<string> CopyItemAsync(string itemUri, string destinationFolderUri, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
itemUriStringThe item URI
destinationFolderUriStringThe destination folder URI
cancellationTokenCancellationTokenThe cancellation token.

Return Value

An uri of the copied message

Exceptions

exceptioncondition
AsposeArgumentExceptionitemUri is null or empty
AsposeArgumentExceptiondestinationFolderUri is null or empty

See Also