10.27.03

ISDTContainerClose Method

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).
  • Definition

    Namespace: SolaceSystems.Solclient.Messaging.SDT
    Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.27.0
    C#
    void Close()

    Exceptions

    InvalidOperationException Thrown when the container is already closed.
    OperationErrorException Thrown when an error occurs. In this case ReturnCode and SDKErrorInfo will be accessible from OperationErrorException and will contain more information.
    FatalErrorException Thrown when an unrecoverable error occurs.

    See Also