Export (0) Print
Expand All

WmiEventWatcherTask Properties

The WmiEventWatcherTask type exposes the following members.

  Name Description
Public property ActionAtEvent Determines how the WmiEventWatcherTask responds when the task receives a Windows Management Instrumentation (WMI) event.
Public property ActionAtTimeout Determines how the WmiEventWatcherTask responds when the task times out without receiving the specified Windows Management Instrumentation (WMI) event.
Public property AfterEvent Determines how the WmiEventWatcherTask responds when the task receives the specified Windows Management Instrumentation (WMI) event.
Public property AfterTimeout Determines how the WmiEventWatcherTask responds when the task times out without receiving the specified Windows Management Instrumentation (WMI) event.
Public property DebugMode A Boolean indicating whether WmiEventWatcherTask should check if breakpoints are enabled.
Public property ExecutionValue Gets an Object that contains the results of the WmiEventWatcherTask task. (Overrides Task.ExecutionValue.)
Public property NumberOfEvents Gets or sets the number of Windows Management Instrumentation (WMI) events for which the WmiEventWatcherTask should watch.
Public property SuspendRequired Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.
Public property Timeout Gets or sets the number of seconds the task should wait to receive a Windows Management Instrumentation (WMI) event before timing out.
Public property Version *** Member deprecated; see Remarks. ***   Returns the version of the task. This property is read-only. (Inherited from Task.)
Public property WmiConnection Gets or sets the name of the WMIConn class used by the WmiEventWatcherTask task.
Public property WqlQuerySource Gets or sets the source of the Windows Management Instrumentation Query Language (WQL) query to be executed by the WmiEventWatcherTask.
Public property WqlQuerySourceType Gets or sets a QuerySourceType value that indicates the source type, such as file connection or a variable, of the Windows Management Instrumentation Query Language (WQL) query to be executed by the WmiEventWatcherTask.
Top

Community Additions

ADD
Show:
© 2014 Microsoft