Writes a byte array to the bytes message stream.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Sub WriteBytes ( _ value As Byte() _ ) |
| C# |
|---|
void WriteBytes( byte[] value ) |
| Visual C++ |
|---|
void WriteBytes( array<unsigned char>^ value ) |
| JavaScript |
|---|
function writeBytes(value); |
Parameters
- value
- Type: array<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. |