Click or drag to resize
Task Scheduler Managed Class Library

TaskEventWatcher(Task) Constructor

Initializes a new instance of the TaskEventWatcher class watching only those events for the specified task.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public TaskEventWatcher(
	Task task
)
Request Example View Source

Parameters

task  Task
The task to watch.
Exceptions
ExceptionCondition
ArgumentNullExceptionOccurs if the task is null.
See Also