ISessionUnsubscribe(ITopicEndpoint, Object) Method
Unsubscribes from a durable Topic Endpoint. This is only valid if no clients are bound to the
topic endpoint.
Namespace: SolaceSystems.Solclient.MessagingAssembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.27.0
ReturnCode Unsubscribe(
ITopicEndpoint dte,
Object correlationKey
)
- dte ITopicEndpoint
- The durable Topic Endpoint to unsubscribe from.
- correlationKey Object
- An object reference that is returned in CorrelationKey
session event
ReturnCodeThe return code from the unsubscribe request.
OperationErrorException |
Thrown when the operation fails.
Possible sub-codes:
|
ObjectDisposedException |
Thrown when the session is already disposed (terminal state).
|
FatalErrorException |
Thrown when an unrecoverable error occurs.
|
ArgumentNullException |
Thrown if any of the required parameters is null.
|