Returns the next message received by this message consumer within the specified timeout. A timeout of zero will never expire and cause the method to block indefinitely.
The next message received by this message consumer, or null if the timeout expires or 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