Reads an int from the Message Stream.
Namespace:
Apache.NMSAssembly: 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
| Exception | Condition |
|---|---|
| Apache.NMS..::..MessageNotReadableException | Thrown when the Message is in write-only mode. |
| Apache.NMS..::..MessageEOFException | Thrown when an unexpected end of bytes has been reached. |
| Apache.NMS..::..NMSException | Thrown when there is an unhandled exception thrown from the provider. |