Compartir a través de


DataLakeDirectoryClient.CreateSubDirectoryAsync Método

Definición

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.DataLakeDirectoryClient>> CreateSubDirectoryAsync (string path, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateSubDirectoryAsync : string * Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.DataLakeDirectoryClient>>
override this.CreateSubDirectoryAsync : string * Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.DataLakeDirectoryClient>>
Public Overridable Function CreateSubDirectoryAsync (path As String, Optional options As DataLakePathCreateOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataLakeDirectoryClient))

Parámetros

path
String

Ruta de acceso al directorio que se va a crear.

options
DataLakePathCreateOptions

Parámetros opcionales.

cancellationToken
CancellationToken

Opcional CancellationToken para propagar notificaciones que se deben cancelar en la operación.

Devoluciones

para Response<T> el directorio recién creado.

Comentarios

RequestFailedException Se producirá un error si se produce un error.

Se aplica a