QueueClient.Send(BrokeredMessage) QueueClient.Send(BrokeredMessage) QueueClient.Send(BrokeredMessage) Method

Definition

Sends a message using the Microsoft.ServiceBus.Messaging.QueueClient.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 BrokeredMessage BrokeredMessage

The message to send.

Exceptions

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

Thrown if the topic/subscription pointed to does not support the send operation. That is, Deadletter queue does not support send operations.

Thrown if there is a messaging error.

Applies to