Solclient
IMapContainerGetNext Method |
Gets the next KeyValuePair(where key is a String and value is a ISDTField).
If the returned ISDTField is of type SDTFieldType.MAP or SDTFieldType.STREAM, it is recommended to close the container when done. If it is not explicitly closed,
the container is automatically closed when the associated parent container is closed
or the associated message (if it is a message-dependent container) is disposed.
Namespace: SolaceSystems.Solclient.Messaging.SDT
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
KeyValuePair<string, ISDTField> GetNext()
Function GetNext As KeyValuePair(Of String, ISDTField)
KeyValuePair<String^, ISDTField^> GetNext()
Return Value
Type: KeyValuePairString, ISDTFieldKeyValuePair(null, null) if end of Map is reached.
Exceptions
Exception | Condition |
---|---|
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 contain more information. |
FatalErrorException | Thrown when an unrecoverable error occurs. |
See Also