Unsubscribes (removes) all subscriptions for
an ISubscriptionListener.
Declaration Syntax
C# | Visual Basic | Visual C++ |
void Unsubscribe( ISubscriptionListener listener )
Sub Unsubscribe ( _ listener As ISubscriptionListener _ )
void Unsubscribe( ISubscriptionListener^ listener )
Parameters
- listener (ISubscriptionListener)
- The ISubscriptionListener for which all subscriptions should be removed. This must be an ISubscriptionListener that was previously specified in a subscription request (a call to one of the IStreamLinkProvider.CreateXXXSubscription() methods).
Exceptions
Exception | Condition |
---|---|
ArgumentException | If the provided listener is not registered with the
IStreamLinkProvider. |