DeleteFolderAsync
IAsyncEwsClient.DeleteFolderAsync method
删除文件夹
public Task DeleteFolderAsync(string folderUri, bool deletePermanently = false,
CancellationToken cancellationToken = default)
范围 | 类型 | 描述 |
---|---|---|
folderUri | String | 文件夹 URI |
deletePermanently | Boolean | 指示该文件夹是应该永久删除还是应该移入 DeletedItems 文件夹 |
cancellationToken | CancellationToken | 取消令牌。 |
例外
例外 | (健康)状况 |
---|---|
AsposeArgumentException | folderUri是无效的 或为空 |
也可以看看
- interface IAsyncEwsClient
- 命名空间 Aspose.Email.Clients.Exchange.WebService
- 部件 Aspose.Email