TaskEventWatcher(String, String, Boolean, TaskService) Constructor
Namespace: Microsoft.Win32.TaskSchedulerAssembly: 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.