An NDoc Documented Class Library

IStreamMessage.ReadObject Method 

Reads an object from the stream message.

object ReadObject();

Return Value

The object value read.

Exceptions

Exception Type Condition
MsgException Thrown when unable to read the value.
MessageEOFException Thrown when the end of the stream has been unexpectedly reached.
MessageFormatException Thrown when the type conversion is invalid.
MessageNotReadableException Thrown when the message is write-only.

See Also

IStreamMessage Interface | webMethods.Msg Namespace