Udostępnij za pośrednictwem


MessageSender.Send(BrokeredMessage) Method

Definition

Sends the specified brokered message.

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 brokered message to send.

Exceptions

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.

Thrown when message is null.

Applies to