EN
Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.

MessagingFactory.CreateTopicClient Method (String)

 

Creates a new topic client.

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

public TopicClient CreateTopicClient(
	string path
)

Parameters

path
Type: System.String

The topic path relative to the service namespace base address.

Return Value

Type: Microsoft.ServiceBus.Messaging.TopicClient

The newly created topic client.

Exception Condition
ArgumentNullException

The supplied path is null.

TimeoutException

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.

OperationCanceledException

The factory has been closed or aborted.

MessagingException

An internal error or unexpected exception occurs.

Return to top
Show: