IQueueOperations.ListAsync(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.
Enumerates the queues in the service namespace. The result is returned in pages, each containing up to 100 queues. If the namespace contains more than 100 queues, a feed is returned that contains the first page and a next link with the URI to view the next page of data. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780759.asp for more information)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusQueuesResponse> ListAsync (string namespaceName, System.Threading.CancellationToken cancellationToken);
abstract member ListAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusQueuesResponse>
Public Function ListAsync (namespaceName As String, cancellationToken As CancellationToken) As Task(Of ServiceBusQueuesResponse)
Parameters
- namespaceName
- String
The namespace name.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A response to a request for a list of queues.
Applies to
Azure SDK for .NET