ISession.Disconnect Method

Solclient

ISessionDisconnect Method
version: 7.2.1.27
Disconnects the session.

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
ReturnCode Disconnect()
Function Disconnect As ReturnCode
ReturnCode Disconnect()

Return Value

Type: ReturnCode
SOLCLIENT_OK if successful.
Exceptions
ExceptionCondition
OperationErrorException Thrown when the Disconnect operation fails.
ObjectDisposedException Thrown when the session is already disposed (terminal state).
FatalErrorException Thrown when an unrecoverable error occurs.
See Also