Writes a bool to the bytes message stream as a 1-byte value. The value true is written as the value (byte)1; the value false is written as the value (byte)0.

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

Syntax

Visual Basic
Sub WriteBoolean ( _
	value As Boolean _
)
C#
void WriteBoolean(
	bool value
)
Visual C++
void WriteBoolean(
	bool value
)

Parameters

value
Type: System..::..Boolean
the bool 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