Write a two byte value to the message stream representing the short
value passed. High byte first.
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..::..MessageNotWriteableException | Thrown when the Message is in read-only mode. |
Apache.NMS..::..NMSException | Thrown when there is an unhandled exception thrown from the provider. |