Share via


MockAdlsClient.DeleteRecursiveAsync(String, CancellationToken) Method

Definition

Deletes all entries within a directory or delete a file

public override System.Threading.Tasks.Task<bool> DeleteRecursiveAsync (string path, System.Threading.CancellationToken cancelToken = default);
override this.DeleteRecursiveAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overrides Function DeleteRecursiveAsync (path As String, Optional cancelToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

path
String

Path of directory or file

cancelToken
CancellationToken

Cancellation token

Returns

Applies to