DataSource.NET
CreateBroadcastSubscription Method (nspace, listener)
NamespacesCaplin.DataSourceDataSourceCreateBroadcastSubscription(INamespace, ISubscriptionListener)
Creates a subscription to many subjects. The scope of the subscription is defined by a namespace.
Declaration Syntax
C#Visual BasicVisual 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
Parameters
nspace (INamespace)
The namespace defining the subjects to subscribe to.
listener (ISubscriptionListener)
A listener to receive events raised for the IBroadcastSubscription.
Return Value
An IBroadcastSubscription.
Remarks

All events whose subjects match the namespace defined by the given INameSpace are passed to the given ISubscriptionListener.

Assembly: DataSource.NET (Module: DataSource.NET) Version: 4.5.22.1 (4.5.22.1)