IStorageFileManagement.CreateDirectoryAsync 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.
Overloads
CreateDirectoryAsync(CloudFileDirectory, FileRequestOptions, OperationContext, CancellationToken) |
Returns a task that performs an asynchronous operation to create a directory. |
CreateDirectoryAsync(CloudFileDirectory, FileRequestOptions, OperationContext, CancellationToken) |
CreateDirectoryAsync(CloudFileDirectory, FileRequestOptions, OperationContext, CancellationToken)
Returns a task that performs an asynchronous operation to create a directory.
public System.Threading.Tasks.Task CreateDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory directory, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member CreateDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CreateDirectoryAsync (directory As CloudFileDirectory, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task
Parameters
- directory
- CloudFileDirectory
Indicating the reference of the directory to be created.
- options
- FileRequestOptions
A Microsoft.Azure.Storage.File.FileRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
A Microsoft.WindowsAzure.Storage.OperationContext object that represents the context for the current operation.
- cancellationToken
- CancellationToken
A System.Threading.CancellationToken to observe while waiting for a task to complete.
Returns
A System.Threading.Tasks.Task object that represents the current operation.
Applies to
CreateDirectoryAsync(CloudFileDirectory, FileRequestOptions, OperationContext, CancellationToken)
public System.Threading.Tasks.Task CreateDirectoryAsync (Microsoft.WindowsAzure.Storage.File.CloudFileDirectory directory, Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member CreateDirectoryAsync : Microsoft.WindowsAzure.Storage.File.CloudFileDirectory * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CreateDirectoryAsync (directory As CloudFileDirectory, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task
Parameters
- directory
- CloudFileDirectory
- options
- FileRequestOptions
- operationContext
- OperationContext
- cancellationToken
- CancellationToken