TaskEventWatcher(Task) Constructor

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

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
public TaskEventWatcher(
	Task task
)

Parameters

task  Task
The task to watch.

Exceptions

ArgumentNullExceptionOccurs if the task is null.

See Also