CloudQueue.SetMetadataAsync CloudQueue.SetMetadataAsync CloudQueue.SetMetadataAsync Method

Definition

Overloads

SetMetadataAsync() SetMetadataAsync() SetMetadataAsync()

Initiates an asynchronous operation to set user-defined metadata on the queue.

SetMetadataAsync(CancellationToken) SetMetadataAsync(CancellationToken)

Initiates an asynchronous operation to set user-defined metadata on the queue.

SetMetadataAsync(QueueRequestOptions, OperationContext) SetMetadataAsync(QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to set user-defined metadata on the queue.

SetMetadataAsync(QueueRequestOptions, OperationContext, CancellationToken) SetMetadataAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to set user-defined metadata on the queue.

SetMetadataAsync() SetMetadataAsync() SetMetadataAsync()

Initiates an asynchronous operation to set user-defined metadata on the queue.

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

Returns

A Task object that represents the asynchronous operation.

SetMetadataAsync(CancellationToken) SetMetadataAsync(CancellationToken)

Initiates an asynchronous operation to set user-defined metadata on the queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetMetadataAsync (System.Threading.CancellationToken cancellationToken);
abstract member SetMetadataAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetMetadataAsync : 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.

SetMetadataAsync(QueueRequestOptions, OperationContext) SetMetadataAsync(QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to set user-defined metadata on the queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetMetadataAsync (Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member SetMetadataAsync : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.SetMetadataAsync : 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.

SetMetadataAsync(QueueRequestOptions, OperationContext, CancellationToken) SetMetadataAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to set user-defined metadata on the queue.

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