Click or drag to resize
Task Scheduler Managed Class Library

RunningTaskCollection Class

Collection of running tasks in a TaskService. This class has no public constructor and can only be accessed via the properties and functions within TaskService.
Inheritance Hierarchy
SystemObject
  Microsoft.Win32.TaskSchedulerRunningTaskCollection

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public sealed class RunningTaskCollection : IEnumerable, 
	IDisposable
Request Example View Source

The RunningTaskCollection type exposes the following members.

Properties
 NameDescription
Public propertyCountGets the number of registered tasks in the collection.
Public propertyItemGets the specified running task from the collection.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by this class.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetEnumeratorGets an IEnumerator instance for this collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a String that represents this instance.
(Overrides ObjectToString)
Top
See Also