TaskGetInstances Method

Gets all instances of the currently running registered task.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public RunningTaskCollection GetInstances()

Return Value

RunningTaskCollection
A RunningTaskCollection with all instances of current task.

Exceptions

NotV1SupportedExceptionNot supported under Task Scheduler 1.0.

See Also