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.
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
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to write the message due to some internal error. |
| Kaazing.JMS..::..MessageNotWriteableException | if the message is in read-only mode. |