Reads a string that has been encoded using a modified UTF-8 format from the bytes message stream.

For more information on the UTF-8 format, see "File System Safe UCS Transformation Format (FSS_UTF)", X/Open Preliminary Specification, X/Open Company Ltd., Document Number: P316. This information also appears in ISO/IEC 10646, Annex P.

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Function ReadUTF As String
C#
string ReadUTF()
Visual C++
String^ ReadUTF()

Return Value

a Unicode string from the bytes message stream

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to read the message due to some internal error.
Kaazing.JMS..::..MessageEOFExceptionif unexpected end of bytes stream has been reached.
Kaazing.JMS..::..MessageNotReadableExceptionif the message is in write-only mode.

See Also