IAsyncEwsClient.DeleteFoldersAsync
IAsyncEwsClient.DeleteFoldersAsync method
Deletes the folders
public Task DeleteFoldersAsync(IEnumerable<string> folderUris, bool deletePermanently = false,
CancellationToken cancellationToken = default)
Parameter | Type | Description |
---|---|---|
folderUris | IEnumerable`1 | The list of folder URIs |
deletePermanently | Boolean | Indicates whether the folder should be deleted permanently or should be moved into DeletedItems folder |
cancellationToken | CancellationToken | The cancellation token. |
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | folderUris is null |
See Also
- interface IAsyncEwsClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email