Click or drag to resize
Task Scheduler Managed Class Library

TaskServiceGetRunningTasks Method

Gets a collection of running tasks.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public RunningTaskCollection GetRunningTasks(
	bool includeHidden = true
)
Request Example View Source

Parameters

includeHidden (Optional)
Type: SystemBoolean
True to include hidden tasks.

Return Value

Type: RunningTaskCollection
RunningTaskCollection instance with the list of running tasks.
See Also