WMIEventWatcher(SelectQuery, TimeSpan) Constructor
Namespace: DevCase.Core.Diagnostics.WMIAssembly: 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
)
Public Sub New (
query As SelectQuery,
withinInterval As TimeSpan
)
Dim query As SelectQuery
Dim withinInterval As TimeSpan
Dim instance As New WMIEventWatcher(query, withinInterval)
public:
WMIEventWatcher(
SelectQuery^ query,
TimeSpan withinInterval
)
new :
query : SelectQuery *
withinInterval : TimeSpan -> WMIEventWatcher
No code example is currently available or this language may not be supported.
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.