IAsyncEwsClient.CreateItemsAsync
IAsyncEwsClient.CreateItemsAsync method
Creates the specified items in the specified folder
public Task<IEnumerable<ExchangeUploadItemResult>> CreateItemsAsync(
IEnumerable<ExchangeStreamedItem> items, string parentFolderUri,
CancellationToken cancellationToken = default)
Parameter | Type | Description |
---|---|---|
items | IEnumerable`1 | The items to be uploaded |
parentFolderUri | String | Specifies the folder in which to place the items |
cancellationToken | CancellationToken | The cancellation token. |
Return Value
An array of ExchangeUploadItemResult
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | items is null |
AsposeArgumentException | items is empty |
AsposeArgumentException | parentFolderUri is null or empty |
See Also
- class ExchangeUploadItemResult
- class ExchangeStreamedItem
- interface IAsyncEwsClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email