共用方式為


QueueOperationsExtensions.ListAsync(IQueueOperations, String) Method

Definition

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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusQueuesResponse> ListAsync (this Microsoft.WindowsAzure.Management.ServiceBus.IQueueOperations operations, string namespaceName);
static member ListAsync : Microsoft.WindowsAzure.Management.ServiceBus.IQueueOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusQueuesResponse>
<Extension()>
Public Function ListAsync (operations As IQueueOperations, namespaceName As String) As Task(Of ServiceBusQueuesResponse)

Parameters

operations
IQueueOperations

Reference to the Microsoft.WindowsAzure.Management.ServiceBus.IQueueOperations.

namespaceName
String

Required. The namespace name.

Returns

A response to a request for a list of queues.

Applies to