Task Scheduler Managed Class Library
C#
Show/Hide TOC
Task
Get
Instances 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
C#
Copy
View Source
Request Example
public
RunningTaskCollection
GetInstances
()
Return Value
RunningTaskCollection
A
RunningTaskCollection
with all instances of current task.
Exceptions
NotV1SupportedException
Not supported under Task Scheduler 1.0.
See Also
Reference
Task Class
Microsoft.Win32.TaskScheduler Namespace
In This Article
Definition
Exceptions
See Also