Writes a byte to the Message stream.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Sub WriteByte ( _ value As Byte _ ) |
| C# |
|---|
void WriteByte( byte value ) |
| Visual C++ |
|---|
void WriteByte( unsigned char value ) |
| JavaScript |
|---|
function writeByte(value); |
Parameters
- value
- Type: System..::..Byte
A Byte
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. |