Writes a portion of 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(), _ offset As Integer, _ length As Integer _ ) |
C# |
---|
void WriteBytes( byte[] value, int offset, int length ) |
Visual C++ |
---|
void WriteBytes( array<unsigned char>^ value, int offset, int length ) |
JavaScript |
---|
function writeBytes(value, offset, length); |
Parameters
- value
- Type: array<System..::..Byte>[]()[][]
A Byte
- offset
- Type: System..::..Int32
A Int32
- length
- Type: System..::..Int32
A Int32
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. |