10.24.0

IStreamContainerGetUInt16 Method

Gets the next field as a UInt16 (converted to Int32).

Definition

Namespace: SolaceSystems.Solclient.Messaging.SDT
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.24.0
C#
int GetUInt16()

Return Value

Int32
UInt16 value from the stream.

Exceptions

EndOfStreamException Thrown when the end of stream is reached.
OperationErrorException Thrown when an error occurs. In this case ReturnCode and SDKErrorInfo are accessible from OperationErrorException and contain more information.
FatalErrorException Thrown when an unrecoverable error occurs.
InvalidOperationException Thrown when the container is already closed.

See Also