Partager via


AdlsClient.CreateDirectoryAsync(String, String, CancellationToken) Méthode

Définition

API asynchrone pour créer un répertoire.

public virtual System.Threading.Tasks.Task<bool> CreateDirectoryAsync (string dirName, string octalPermission = default, System.Threading.CancellationToken cancelToken = default);
abstract member CreateDirectoryAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateDirectoryAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateDirectoryAsync (dirName As String, Optional octalPermission As String = Nothing, Optional cancelToken As CancellationToken = Nothing) As Task(Of Boolean)

Paramètres

dirName
String

Nom du répertoire

octalPermission
String

Autorisation octal

cancelToken
CancellationToken

CancellationToken pour annuler la demande

Retours

true s’il crée le répertoire sinon false

S’applique à