QueueServiceClient.GetQueues(QueueTraits, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The GetQueues(QueueTraits, String, CancellationToken) operation returns an async sequence of queues in the storage account. Enumerating the queues may make multiple requests to the service while fetching all the values. Queue names are returned in lexicographic order.
For more information, see List Queues.
public virtual Azure.Pageable<Azure.Storage.Queues.Models.QueueItem> GetQueues (Azure.Storage.Queues.Models.QueueTraits traits = Azure.Storage.Queues.Models.QueueTraits.None, string prefix = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetQueues : Azure.Storage.Queues.Models.QueueTraits * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.Storage.Queues.Models.QueueItem>
override this.GetQueues : Azure.Storage.Queues.Models.QueueTraits * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.Storage.Queues.Models.QueueItem>
Public Overridable Function GetQueues (Optional traits As QueueTraits = Azure.Storage.Queues.Models.QueueTraits.None, Optional prefix As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of QueueItem)
Parameters
- traits
- QueueTraits
Optional trait options for shaping the queues.
- prefix
- String
Optional string that filters the results to return only queues
whose name begins with the specified prefix
.
- cancellationToken
- CancellationToken
Returns
The queues in the storage account.
Applies to
Azure SDK for .NET