Reads a byte from the stream message.
            
    Namespace: 
   Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic | 
|---|
Function ReadByte As Byte  | 
| C# | 
|---|
byte ReadByte()  | 
| Visual C++ | 
|---|
unsigned char ReadByte()  | 
| JavaScript | 
|---|
function readByte();  | 
Return Value
A Byte
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. |