IAsyncEwsClient.EmptyFolderAsync
IAsyncEwsClient.EmptyFolderAsync method
Empties the specified folder
public Task EmptyFolderAsync(string folderUri,
EmptyFolderOptions options = EmptyFolderOptions.None,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| folderUri | String | Specifies the folder to be empty |
| options | EmptyFolderOptions | Specifies the options of clearing folder |
| cancellationToken | CancellationToken | The cancellation token. |
Exceptions
| exception | condition |
|---|---|
| ExchangeException | EmptyFolder operation failed |
| AsposeArgumentException | folderUri is null or empty |
See Also
- enum EmptyFolderOptions
- interface IAsyncEwsClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email