WebLogic Messaging API Class Library |

# IStreamMessage.ReadLong Method

Reads a 64-bit integer from the stream message.

long ReadLong();

#### Return Value

a 64-bit integer value from the stream message, interpreted as a `long`

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to read the message due to some internal error.
MessageEOFException | if unexpected end of message stream has been reached.
MessageFormatException | if this type conversion is invalid.
MessageNotReadableException | if the message is in write-only mode.

#### See Also

IStreamMessage Interface | WebLogic.Messaging Namespace