This topic has not yet been rated - Rate this topic

MessageSender.Send Method

Sends the specified brokered message.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public void Send(
	BrokeredMessage message
)

Parameters

message
Type: Microsoft.ServiceBus.Messaging.BrokeredMessage
The brokered message to send.
Exception Condition
TimeoutException

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

ArgumentException

Thrown when message is null.

Did you find this helpful?
(1500 characters remaining)