An NDoc Documented Class Library

IBytesMessage.ReadUnsignedShort Method 

Reads an unsigned short from the bytes message stream.

int ReadUnsignedShort();

Return Value

The next short interpreted as an unsigned value.

Exceptions

Exception Type Condition
MsgException Thrown when the read fails.
MessageEOFException Thrown when the end of the bytes stream has been unexpectedly reached.
MessageNotReadableException Thrown when the message is write-only.

See Also

IBytesMessage Interface | webMethods.Msg Namespace