MessagingFactory.CreateTopicClient(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The topic path relative to the service namespace base address.
Returns
The newly created topic client.
Exceptions
The supplied path
is null.
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.
The factory has been closed or aborted.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應