Reads an Int16 from the response stream. Do not use with custom handlers (Header.CustomMessageType == ServerNotification).

Namespace: ININ.IceLib.Connection.Extensions
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Collapse imageSyntax

C#
public short ReadInt16()
Visual Basic
Public Function ReadInt16 As Short

Return Value

The Int16 value.

Collapse imageExceptions

ExceptionCondition
System..::..InvalidOperationExceptionInvalid data format requested.
ININ.IceLib..::..IceLibExceptionAttempted to read beyond end of the message.

Collapse imageVersion Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.
For 2.4, supported for IC Server version 2.4 SU 28 and beyond.

Collapse imageSee Also