CloudQueue.CreateAsync CloudQueue.CreateAsync CloudQueue.CreateAsync Method

Definition

Overloads

CreateAsync() CreateAsync() CreateAsync()

Initiates an asynchronous operation to create a queue.

CreateAsync(CancellationToken) CreateAsync(CancellationToken)

Initiates an asynchronous operation to create a queue.

CreateAsync(QueueRequestOptions, OperationContext) CreateAsync(QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to create a queue.

CreateAsync(QueueRequestOptions, OperationContext, CancellationToken) CreateAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to create a queue.

CreateAsync() CreateAsync() CreateAsync()

Initiates an asynchronous operation to create a queue.

[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

A Task object that represents the asynchronous operation.

CreateAsync(CancellationToken) CreateAsync(CancellationToken)

Initiates an asynchronous operation to create a queue.

[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 CancellationToken CancellationToken

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

Returns

A Task object that represents the asynchronous operation.

CreateAsync(QueueRequestOptions, OperationContext) CreateAsync(QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to create a queue.

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

Parameters

options
QueueRequestOptions QueueRequestOptions QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

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

Returns

A Task object that represents the asynchronous operation.

CreateAsync(QueueRequestOptions, OperationContext, CancellationToken) CreateAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to create a queue.

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

Parameters

options
QueueRequestOptions QueueRequestOptions QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

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

cancellationToken
CancellationToken CancellationToken CancellationToken

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

Returns

A Task object that represents the asynchronous operation.

Applies to