CloudFileDirectory.CreateAsync Method

Definition

Overloads

CreateAsync()

Returns a task that performs an asynchronous operation to create a directory.

CreateAsync(CancellationToken)

Returns a task that performs an asynchronous operation to create a directory.

CreateAsync(FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to create a directory.

CreateAsync(FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to create a directory.

CreateAsync()

Returns a task that performs an asynchronous operation to create a directory.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync ();
abstract member CreateAsync : unit -> System.Threading.Tasks.Task
override this.CreateAsync : unit -> System.Threading.Tasks.Task
Public Overridable Function CreateAsync () As Task

Returns

Task

A Task object that represents the current operation.

Attributes

Applies to

Product Introduced

CreateAsync(CancellationToken)

Returns a task that performs an asynchronous operation to create a directory.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync (System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

Task

A Task object that represents the current operation.

Attributes

Applies to

Product Introduced

CreateAsync(FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to create a directory.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync (Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member CreateAsync : Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.CreateAsync : Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task

Parameters

options
FileRequestOptions

A FileRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

Task

A Task object that represents the current operation.

Attributes

Applies to

Product Introduced

CreateAsync(FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to create a directory.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync (Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateAsync : Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

options
FileRequestOptions

A FileRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

Task

A Task object that represents the current operation.

Attributes

Applies to

Product Introduced