Reads a int from the stream message.

Namespace:  Apache.NMS
Assembly:  Apache.NMS (in Apache.NMS.dll)

Syntax

Visual Basic
Function ReadInt32 As Integer
C#
int ReadInt32()
Visual C++
int ReadInt32()
JavaScript
function readInt32();

Return Value

A Int32

Exceptions

ExceptionCondition
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.

See Also