Share via


MockAdlsClient.RestoreDeletedItemsAsync Method

Definition

Asynchronously Restores trash entry

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

Parameters

pathOfFileToRestoreInTrash
String

Trash Directory path returned by enumeratedeleteditems

restoreDestination
String

Destination for restore

type
String

type of restore - file or directory

restoreAction
String

Action to take in case of destination conflict

cancelToken
CancellationToken

CancellationToken to cancel the request

Returns

Applies to