WebLogic Messaging API Class Library

IBytesMessage.ReadChar Method 

Reads a Unicode character value from the bytes message stream.

char ReadChar();

Return Value

the next two bytes from the bytes message stream as a Unicode character


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