Task Scheduler Managed Class Library
Task Scheduler Managed Class Library
Task Scheduler Managed Class Library Overview
Microsoft.Win32.TaskScheduler
Task Class
Task Methods
CompareTo Method
Dispose Method
Export Method
GetAccessControl Method
GetInstances Method
GetLastRegistrationTime Method
GetRunTimes Method
GetSecurityDescriptorSddlForm Method
OnNotifyPropertyChanged Method
RegisterChanges Method
Run Method
RunEx Method
SetAccessControl Method
SetSecurityDescriptorSddlForm Method
ShowEditor Method
ShowPropertyPage Method
Stop Method
ToString Method
Task
Get
Instances 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#
Copy
public
RunningTaskCollection
GetInstances
()
Request Example
View Source
Return Value
RunningTaskCollection
A
RunningTaskCollection
with all instances of current task.
Exceptions
Exception
Condition
NotV1SupportedException
Not supported under Task Scheduler 1.0.
See Also
Reference
Task Class
Microsoft.Win32.TaskScheduler Namespace
© 2024 GitHub Community. All rights reserved.