Writes a string to the bytes message stream using UTF-8 encoding in a machine-independent manner.

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
Sub WriteUTF ( _
	value As String _
)
C#
void WriteUTF(
	string value
)
Visual C++
void WriteUTF(
	String^ value
)

Parameters

value
Type: System..::..String
the String value to be written

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to write the message due to some internal error.
Kaazing.JMS..::..MessageNotWriteableExceptionif the message is in read-only mode.

See Also