WMIEventWatcher(SelectQuery, TimeSpan) Constructor

Initializes a new instance of the WMIEventWatcher class.

Definition

Namespace: DevCase.Core.Diagnostics.WMI
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public WMIEventWatcher(
	SelectQuery query,
	TimeSpan withinInterval
)

Parameters

query  SelectQuery
The WMI select query of the event class to subscribe for.
withinInterval  TimeSpan
The interval, in seconds, that WMI will check for changes that occur to instances of the events of the specified class in the query parameter.

See Also