An NDoc Documented Class Library

ISession.CreateProducer Method 

Creates a message producer.

IMessageProducer CreateProducer(
   IDestination destination
);

Parameters

destination
The destination on which to send messages, or null.

Return Value

A new message producer.

Exceptions

Exception Type Condition
MsgException Thrown when an error occurs creating the message producer.
InvalidDestinationException Thrown when an invalid destination is specified.

See Also

ISession Interface | webMethods.Msg Namespace