Write a one byte value to the message stream representing the boolean
value passed.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Sub WriteBoolean ( _ value As Boolean _ ) |
| C# |
|---|
void WriteBoolean( bool value ) |
| Visual C++ |
|---|
void WriteBoolean( bool value ) |
| JavaScript |
|---|
function writeBoolean(value); |
Parameters
- value
- Type: System..::..Boolean
A Boolean
Exceptions
| Exception | Condition |
|---|---|
| Apache.NMS..::..MessageNotWriteableException | Thrown when the Message is in read-only mode. |
| Apache.NMS..::..NMSException | Thrown when there is an unhandled exception thrown from the provider. |