WebLogic Messaging API Class Library

IBytesMessage.WriteShort Method 

Writes a short to the bytes message stream as two bytes, high byte first.

void WriteShort(
   Int16 value
);

Parameters

Int16
the short to be written

Exceptions

Exception Type Condition
MessageException if JMS fails to write the message due to some internal error.
MessageNotWriteableException if the message is in read-only mode.

See Also

IBytesMessage Interface | WebLogic.Messaging Namespace