Click or drag to resize
Task Scheduler Managed Class Library

RunningTask Properties

The RunningTask type exposes the following members.

Properties
  NameDescription
Public propertyCurrentAction
Gets the name of the current action that the running task is performing.
Public propertyDefinition
Gets the definition of the task.
(Inherited from Task.)
Public propertyEnabled
Gets or sets a Boolean value that indicates if the registered task is enabled.
(Inherited from Task.)
Public propertyEnginePID
Gets the process ID for the engine (process) which is running the task.
Public propertyFolder
Gets an instance of the parent folder.
(Inherited from Task.)
Public propertyInstanceGuid
Gets the GUID identifier for this instance of the task.
Public propertyIsActive
Gets a value indicating whether this task instance is active.
(Inherited from Task.)
Public propertyLastRunTime
Gets the time the registered task was last run.
(Inherited from Task.)
Public propertyCode exampleLastTaskResult
Gets the results that were returned the last time the registered task was run.
(Inherited from Task.)
Public propertyName
Gets the name of the registered task.
(Inherited from Task.)
Public propertyNextRunTime
Gets the time when the registered task is next scheduled to run.
(Inherited from Task.)
Public propertyNumberOfMissedRuns
Gets the number of times the registered task has missed a scheduled run.
(Inherited from Task.)
Public propertyPath
Gets the path to where the registered task is stored.
(Inherited from Task.)
Public propertyReadOnly
Gets a value indicating whether this task is read only. Only available if AllowReadOnlyTasks is true.
(Inherited from Task.)
Public propertySecurityDescriptor Obsolete.
Gets or sets the security descriptor for the task.
(Inherited from Task.)
Public propertyState
Gets the operational state of the running task.
(Overrides TaskState.)
Public propertyTaskService
Gets or sets the TaskService that manages this task.
(Inherited from Task.)
Public propertyXml
Gets the XML-formatted registration information for the registered task.
(Inherited from Task.)
Top
See Also