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.
The next message received by this message consumer, or null if the consumer is closed while waiting.
Exception Type | Condition |
---|---|
MsgException | Thrown when an error occurs receiving a message. |
IMessageConsumer Interface | webMethods.Msg Namespace | IMessageConsumer.Receive Overload List