10.26.0

ISessionUnsubscribe Method

Overload List

Unsubscribe(ISubscription, Boolean) Remove a subscription.
Unsubscribe(ITopicEndpoint, Int32) Unsubscribes from a durable Topic Endpoint.
Obsolete.
Unsubscribe(ITopicEndpoint, Object) Unsubscribes from a durable Topic Endpoint. This is only valid if no clients are bound to the topic endpoint.
Unsubscribe(IDispatchTarget, Int32, Object) Removes an IDispatchTarget subscription from the given IMessageDispatcher.

Note: To use this feature, the parent ISession's SessionProperties must have TopicDispatch set to true.

Unsubscribe(IEndpoint, ISubscription, Int32, Object) Remove a ITopic subscription from the endpoint if the operation is supported on the endpoint (Only endpoint of type IQueue supports this operation).

See Also