MockAdlsClient.RestoreDeletedItemsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET