Note: To use this feature, the parent ISession's SessionProperties must have TopicDispatch set to true.
ReturnCode Unsubscribe(
IDispatchTarget dispatchTarget,
int flags,
Object correlationKey
)
OperationErrorException |
Thrown when the Unsubscribe operation fails. More details are available in the fields
of the OperationErrorException.
Possible sub-codes:
|
ObjectDisposedException | Thrown when the session is already disposed (terminal state). |
FatalErrorException | Thrown when an unrecoverable error occurs. |
ArgumentNullException | Thrown if dispatchTarget is null. |