Writes a byte array field to the stream message.
The byte array value is written to the message as a byte array field.
Consecutively written byte array fields are treated as two distinct
fields when the fields are read.
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..::..NMSException | if the NMS provider fails to write to the message due to some internal error. |
Apache.NMS..::..MessageNotWriteableException | if the message is in read-only mode. |