ServiceBusNamespaceClient.EndGetTopic Method

Ends an asynchronous request to get a topic.

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.ServiceBus.Messaging.Topic
A Topic handle to the topic, or null if the topic does not exist in the service namespace.

Exceptions

Exception Condition
ArgumentNullException

result is null.

See Also

Reference

ServiceBusNamespaceClient Class

Microsoft.ServiceBus Namespace