DeleteFolderAsync

IAsyncEwsClient.DeleteFolderAsync method

删除文件夹

public Task DeleteFolderAsync(string folderUri, bool deletePermanently = false, 
    CancellationToken cancellationToken = default)
范围类型描述
folderUriString文件夹 URI
deletePermanentlyBoolean指示该文件夹是应该永久删除还是应该移入 DeletedItems 文件夹
cancellationTokenCancellationToken取消令牌。

例外

例外(健康)状况
AsposeArgumentExceptionfolderUri无效的或为空

也可以看看