SALES: 1-800-867-1380

MessageSender::Send Method

Sends the specified brokered message.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public:
virtual void Send(
	BrokeredMessage^ message
) sealed

Parameters

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

ExceptionCondition
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.

Note that a message should not be disposed if a send operation is still in progress.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft