An NDoc Documented Class Library

IMessageConsumer.Receive Method ()

Returns the next message received by this message consumer. This method will block indefinitely until either a message is received or the message consumer is closed.

IMessage Receive();

Return Value

The next message received by this message consumer, or null if the consumer is closed while waiting.

Exceptions

Exception Type Condition
MsgException Thrown when an error occurs receiving a message.

See Also

IMessageConsumer Interface | webMethods.Msg Namespace | IMessageConsumer.Receive Overload List