Writes a short to the stream message.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
Visual Basic |
---|
Sub WriteInt16 ( _ value As Short _ ) |
C# |
---|
void WriteInt16( short value ) |
Visual C++ |
---|
void WriteInt16( short value ) |
JavaScript |
---|
function writeInt16(value); |
Parameters
- value
- Type: System..::..Int16
A Int16
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. |