你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MockAdlsClient.RestoreDeletedItemsAsync 方法

定义

异步还原回收站条目

public override System.Threading.Tasks.Task RestoreDeletedItemsAsync (string pathOfFileToRestoreInTrash, string restoreDestination, string type, string restoreAction = "", System.Threading.CancellationToken cancelToken = default);
override this.RestoreDeletedItemsAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function RestoreDeletedItemsAsync (pathOfFileToRestoreInTrash As String, restoreDestination As String, type As String, Optional restoreAction As String = "", Optional cancelToken As CancellationToken = Nothing) As Task

参数

pathOfFileToRestoreInTrash
String

enumeratedeleteditems 返回的回收站目录路径

restoreDestination
String

还原的目标

type
String

还原类型 - 文件或目录

restoreAction
String

发生目标冲突时要执行的操作

cancelToken
CancellationToken

取消取消请求的 CancellationToken

返回

适用于