MessagingFactory.CreateTopicClient(String) MessagingFactory.CreateTopicClient(String) MessagingFactory.CreateTopicClient(String) Method

Definition

Creates a new topic client.

public Microsoft.ServiceBus.Messaging.TopicClient CreateTopicClient (string path);
member this.CreateTopicClient : string -> Microsoft.ServiceBus.Messaging.TopicClient
Public Function CreateTopicClient (path As String) As TopicClient

Parameters

path
String String String

The topic path relative to the service namespace base address.

Returns

The newly created topic client.

Exceptions

The operation times out. The timeout period is initialized through the MessagingFactorySettings object. You may need to increase the value of OperationTimeout to avoid this exception if the timeout value is relatively low.

An internal error or unexpected exception occurs.

Applies to