IAsyncEwsClient.ExportItemsAsync

IAsyncEwsClient.ExportItemsAsync method

Exports the specified items from mailbox

public Task<IEnumerable<ExchangeStreamedItem>> ExportItemsAsync(IEnumerable<string> itemIds, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
itemIdsIEnumerable`1Ids of items to be exported
cancellationTokenCancellationTokenThe cancellation token.

Return Value

An array of ExchangeStreamedItem

Exceptions

exceptioncondition
AsposeArgumentNullExceptionitemIds is null
AsposeArgumentExceptionitemIds is empty

See Also