TaskEventWatcher(String, String, Boolean, TaskService) Constructor

Initializes a new instance of the TaskEventWatcher class.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskEventWatcher(
	string folder,
	string taskFilter,
	bool includeSubfolders,
	TaskService taskService = null
)

Parameters

folder  String
The task folder to watch.
taskFilter  String
The filter for task names using standard file system wildcards. Use "*" to include all tasks.
includeSubfolders  Boolean
if set to true include events from tasks subfolders.
taskService  TaskService  (Optional)
The task service.

See Also