Constructor DomWatcher
DomWatcher(string, FilterElement<DomInstance>, IConnection)
Initializes a new instance of the DomWatcher class.
public DomWatcher(string module, FilterElement<DomInstance> filter, IConnection connection)
Parameters
module
stringThe module name used for filtering the subscription.
filter
FilterElement<DomInstance>The filter to apply on the DOM instances.
connection
IConnectionThe DataMiner connection object used for subscriptions.
Exceptions
- ArgumentException
Thrown when
module
is null or whitespace.- ArgumentNullException
Thrown when
filter
orconnection
is null.