ISDTContainer.HasNext Method

Solclient

ISDTContainerHasNext Method
version: 7.2.1.27
When iterating through a container (map or stream), this method will return false when the end of the container is reached without advancing the read cursor. It will return true otherwise.

Namespace: SolaceSystems.Solclient.Messaging.SDT
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
bool HasNext()
Function HasNext As Boolean
bool HasNext()

Return Value

Type: Boolean
True or False
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the container is already closed.
OperationErrorException Thrown when an error occurs. In this case ReturnCode and SDKErrorInfo are accessible from OperationErrorException and will contain more information.
FatalErrorException Thrown when an unrecoverable error occurs.
See Also