Click or drag to resize
Task Scheduler Managed Class Library

TaskGetInstances Method

Gets all instances of the currently running registered task.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public RunningTaskCollection GetInstances()
Request Example View Source

Return Value

Type: RunningTaskCollection
A RunningTaskCollection with all instances of current task.
Exceptions
ExceptionCondition
NotV1SupportedExceptionNot supported under Task Scheduler 1.0.
See Also