ServiceBusNamespaceClient.EndCreateTopic Method
Ends an asynchronous request to create a topic.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
Syntax
'Declaration
Public Function EndCreateTopic ( _
result As IAsyncResult _
) As Topic
'Usage
Dim instance As ServiceBusNamespaceClient
Dim result As IAsyncResult
Dim returnValue As Topic
returnValue = instance.EndCreateTopic(result)
public Topic EndCreateTopic(
IAsyncResult result
)
public:
Topic^ EndCreateTopic(
IAsyncResult^ result
)
member EndCreateTopic :
result:IAsyncResult -> Topic
public function EndCreateTopic(
result : IAsyncResult
) : Topic
Parameters
- result
Type: System.IAsyncResult
An IAsyncResult object that references the topic creation.
Return Value
Type: Microsoft.ServiceBus.Messaging.Topic
A Topic.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | result is null. |