ISDTContainer Interface

Solclient

ISDTContainer Interface
version: 7.2.1.27
The parent interface of any Structured Data Type (SDT) container. Subinterfaces of ISDTContainer include IMapContainer and IStreamContainer.

Note: Calling Dispose() on a message-dependent container has no effect on it. The lifecycle of the container in this case is tied to that of the containing message.

Namespace: SolaceSystems.Solclient.Messaging.SDT
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
public interface ISDTContainer : IDisposable
Public Interface ISDTContainer
	Inherits IDisposable
public interface class ISDTContainer : IDisposable

The ISDTContainer type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the ISDTContainer, making it unusable for read or write operations.

It is an error to invoke this method in the following cases (An OperationErrorException will be thrown):

  • The IMessage holding this container is already sent (after calling Send(IMessage)).
  • The ISDTContainer holding this container is already closed (after calling Close).
  • Public methodDispose
    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
    (Inherited from IDisposable.)
    Public methodHasNext
    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.
    Public methodRewind
    Rewinds the container. Normally when HasNext returns false, client applications must call Rewind if they want to reiterate over the container's fields.
    Top
    See Also