WMIEventWatcher(String, String, 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(
	string eventClassName,
	string condition,
	TimeSpan withinInterval
)

Parameters

eventClassName  String
The name of the WMI event class to subscribe for.
condition  String
The condition to be applied to events of the specified class in the eventClassName parameter.
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 eventClassName parameter.

See Also