Creates a subscription to many subjects. The scope of the subscription is defined by a namespace.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
public IBroadcastSubscription CreateBroadcastSubscription( INamespace nspace, ISubscriptionListener listener )
Public Function CreateBroadcastSubscription ( _ nspace As INamespace, _ listener As ISubscriptionListener _ ) As IBroadcastSubscription
public: virtual IBroadcastSubscription^ CreateBroadcastSubscription( INamespace^ nspace, ISubscriptionListener^ listener ) sealed
![](../icons/collapse_all.gif)
- nspace (INamespace)
- The namespace defining the subjects to subscribe to.
- listener (ISubscriptionListener)
- A listener to receive events raised for the IBroadcastSubscription.
![](../icons/collapse_all.gif)
An IBroadcastSubscription
![](../icons/collapse_all.gif)
All events whose subjects match the namespace defined by the given INameSpace
will be passed to the given ISubscriptionListener.