 | TaskEventWatcher Constructor (String, String, Boolean, TaskService) |
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic TaskEventWatcher(
string folder,
string taskFilter,
bool includeSubfolders,
TaskService taskService = null
)
Public Sub New (
folder As String,
taskFilter As String,
includeSubfolders As Boolean,
Optional taskService As TaskService = Nothing
)
public:
TaskEventWatcher(
String^ folder,
String^ taskFilter,
bool includeSubfolders,
TaskService^ taskService = nullptr
)
Request Example
View SourceParameters
- folder
- Type: SystemString
The task folder to watch. - taskFilter
- Type: SystemString
The filter for task names using standard file system wildcards. Use "*" to include all tasks. - includeSubfolders
- Type: SystemBoolean
if set to true include events from tasks subfolders. - taskService (Optional)
- Type: Microsoft.Win32.TaskSchedulerTaskService
The task service.
See Also