WMIEventWatcher(String, 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(
string eventClassName,
TimeSpan withinInterval
)
Public Sub New (
eventClassName As String,
withinInterval As TimeSpan
)
Dim eventClassName As String
Dim withinInterval As TimeSpan
Dim instance As New WMIEventWatcher(eventClassName,
withinInterval)
public:
WMIEventWatcher(
String^ eventClassName,
TimeSpan withinInterval
)
new :
eventClassName : string *
withinInterval : TimeSpan -> WMIEventWatcher
No code example is currently available or this language may not be supported.
Parameters
- eventClassName String
-
The name of the WMI 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 eventClassName parameter.