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.12.0
Syntax
C#
public RunningTaskCollection GetInstances()
Request Example View Source

Return Value

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