TopicClient.Send(BrokeredMessage) 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.
Sends a message using the Microsoft.ServiceBus.Messaging.TopicClient.InternalSender.
public void Send (Microsoft.ServiceBus.Messaging.BrokeredMessage message);
abstract member Send : Microsoft.ServiceBus.Messaging.BrokeredMessage -> unit
override this.Send : Microsoft.ServiceBus.Messaging.BrokeredMessage -> unit
Public Sub Send (message As BrokeredMessage)
Parameters
- message
- BrokeredMessage
The message to send.
Exceptions
Thrown when operation times out. Timeout period is initialized through the OperationTimeout to avoid this exception if timeout value is relatively low.
Thrown when the BrokeredMessage is null.
Thrown if the message
has already been sent by a
TopicClient or
MessageSender once already.
Thrown if the client entity has been closed or aborted.
Thrown if there is an I/O or security error.
Thrown when an error occurs during serialization or deserialization.
Thrown if the topic does not exist.
Thrown if there is a messaging error.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應