An NDoc Documented Class Library

ISession.CreateConsumer Method (IDestination)

Creates a message consumer.

IMessageConsumer CreateConsumer(
   IDestination destination
);

Parameters

destination
The destination on which to receive messages.

Return Value

A new message consumer.

Exceptions

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

See Also

ISession Interface | webMethods.Msg Namespace | ISession.CreateConsumer Overload List