ServiceBusNamespaceClient.EndGetQueues Method
Ends an asynchronous request to retrieve all queues from the service namespace.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
Syntax
'Declaration
Public Function EndGetQueues ( _
result As IAsyncResult _
) As IEnumerable(Of Queue)
'Usage
Dim instance As ServiceBusNamespaceClient
Dim result As IAsyncResult
Dim returnValue As IEnumerable(Of Queue)
returnValue = instance.EndGetQueues(result)
public IEnumerable<Queue> EndGetQueues(
IAsyncResult result
)
public:
IEnumerable<Queue^>^ EndGetQueues(
IAsyncResult^ result
)
member EndGetQueues :
result:IAsyncResult -> IEnumerable<Queue>
public function EndGetQueues(
result : IAsyncResult
) : IEnumerable<Queue>
Parameters
- result
Type: System.IAsyncResult
An IAsyncResult object that references the outstanding asynchronous request to retrieve all queues from the service namespace.
Return Value
Type: System.Collections.Generic.IEnumerable<Queue>
An IEnumerable<T> An collection of all queues in the service namespace. Returns an empty collection if no queue exists in this service namespace.