Reads a Object from the stream message.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
Visual Basic |
---|
Function ReadObject As Object |
C# |
---|
Object ReadObject() |
Visual C++ |
---|
Object^ ReadObject() |
JavaScript |
---|
function readObject(); |
Return Value
A Object
Exceptions
Exception | Condition |
---|---|
Apache.NMS..::..NMSException | if the NMS provider fails to read the message due to some internal error. |
Apache.NMS..::..MessageEOFException | if unexpected end of message stream has been reached. |
Apache.NMS..::..MessageFormatException | if this type conversion is invalid. |
Apache.NMS..::..MessageNotReadableException | if the message is in write-only mode. |