Dela via


CloudQueueClient.ListQueues Method

Definition

Returns an enumerable collection of the queues in the storage account whose names begin with the specified prefix and that are retrieved lazily.

public virtual System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Queue.CloudQueue> ListQueues (string prefix = default, Microsoft.Azure.Storage.Queue.Protocol.QueueListingDetails queueListingDetails = Microsoft.Azure.Storage.Queue.Protocol.QueueListingDetails.None, Microsoft.Azure.Storage.Queue.QueueRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
abstract member ListQueues : string * Microsoft.Azure.Storage.Queue.Protocol.QueueListingDetails * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.Queue.CloudQueue>
override this.ListQueues : string * Microsoft.Azure.Storage.Queue.Protocol.QueueListingDetails * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.Queue.CloudQueue>
Public Overridable Function ListQueues (Optional prefix As String = Nothing, Optional queueListingDetails As QueueListingDetails = Microsoft.Azure.Storage.Queue.Protocol.QueueListingDetails.None, Optional options As QueueRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As IEnumerable(Of CloudQueue)

Parameters

prefix
String

A string containing the queue name prefix.

queueListingDetails
QueueListingDetails

A QueueListingDetails enumeration value that indicates which details to include in the listing.

options
QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext

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

Returns

An enumerable collection of objects of type CloudQueue that are retrieved lazily.

Applies to