An NDoc Documented Class Library

IMessageProducer.Send Method (IDestination, IMessage)

Sends a message to the specefied destination.

void Send(
   IDestination destination,
   IMessage message
);

Parameters

destination
The destination to send the message to.
message
The message to send.

Exceptions

Exception Type Condition
MsgException Thrown when an error occurs sending the message.
MessageFormatException Thrown when an invalid message is specified.
InvalidDestinationException Thrown when sending to an invalid destination.
NotSupportedException Thrown when the message producer has a destination.

See Also

IMessageProducer Interface | webMethods.Msg Namespace | IMessageProducer.Send Overload List