Unsubscribe

virtual void ISubscription::Unsubscribe() = 0

Unsubscribes the callback associated with this instance.

Throws
Remarks

It is guaranteed that the callback will not be executed anymore when this method returns. If the callback is being executed when calling this method, this method blocks until execution of the callback is finished. If this method is called when the callback is already unsubscribed the call has no effect.