Share via


ServiceBusNamespaceClient.EndGetTopics Method

Ends an asynchronous request to retrieve all topics from the service namespace.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)

Syntax

'Declaration
Public Function EndGetTopics ( _
    result As IAsyncResult _
) As IEnumerable(Of Topic)
'Usage
Dim instance As ServiceBusNamespaceClient
Dim result As IAsyncResult
Dim returnValue As IEnumerable(Of Topic)

returnValue = instance.EndGetTopics(result)
public IEnumerable<Topic> EndGetTopics(
    IAsyncResult result
)
public:
IEnumerable<Topic^>^ EndGetTopics(
    IAsyncResult^ result
)
member EndGetTopics : 
        result:IAsyncResult -> IEnumerable<Topic> 
public function EndGetTopics(
    result : IAsyncResult
) : IEnumerable<Topic>

Parameters

  • result
    Type: System.IAsyncResult
    An IAsyncResult object that references the outstanding asynchronous request to retrieve all topics from the service namespace.

Return Value

Type: System.Collections.Generic.IEnumerable<Topic>
An IEnumerable<T> enumeration of topics in this service namespace. Returns an empty collection if no topics are found.

See Also

Reference

ServiceBusNamespaceClient Class

Microsoft.ServiceBus Namespace