CloudQueue.FetchAttributesAsync Method

Definition

Overloads

FetchAttributesAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to fetch the queue's attributes.

FetchAttributesAsync(QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to fetch the queue's attributes.

FetchAttributesAsync()

Initiates an asynchronous operation to fetch the queue's attributes.

FetchAttributesAsync(CancellationToken)

Initiates an asynchronous operation to fetch the queue's attributes.

FetchAttributesAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to fetch the queue's attributes.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task FetchAttributesAsync (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member FetchAttributesAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.FetchAttributesAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function FetchAttributesAsync (options As QueueRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameters

options
QueueRequestOptions

A QueueRequestOptions 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 asynchronous operation.

Attributes

Applies to

FetchAttributesAsync(QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to fetch the queue's attributes.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task FetchAttributesAsync (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member FetchAttributesAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.FetchAttributesAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function FetchAttributesAsync (options As QueueRequestOptions, operationContext As OperationContext) As Task

Parameters

options
QueueRequestOptions

A QueueRequestOptions 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 asynchronous operation.

Attributes

Applies to

FetchAttributesAsync()

Initiates an asynchronous operation to fetch the queue's attributes.

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

Returns

Task

A Task object that represents the asynchronous operation.

Attributes

Applies to

FetchAttributesAsync(CancellationToken)

Initiates an asynchronous operation to fetch the queue's attributes.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task FetchAttributesAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member FetchAttributesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.FetchAttributesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function FetchAttributesAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

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

Returns

Task

A Task object that represents the asynchronous operation.

Attributes

Applies to