WebLogic Messaging API Class Library |

# IBytesMessage.ReadBoolean Method

Reads a `boolean` from the bytes message stream.

bool ReadBoolean();

#### Return Value

the `boolean` value read

#### Exceptions

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

#### See Also

IBytesMessage Interface | WebLogic.Messaging Namespace