Reads a byte from the Message Stream.

Namespace:  Apache.NMS
Assembly:  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

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

See Also