QueueClient.Send Method


Sends a message using the Microsoft.ServiceBus.Messaging.QueueClient.InternalSender.

public void Send (Microsoft.ServiceBus.Messaging.BrokeredMessage message);

The message to send.


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 when the message is null.

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

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 queue does not exist.

Thrown if there is a messaging error.