Models.TaskScheduler.RunningTask Class
Namespace: Nucleus.Abstractions.Models.TaskScheduler
Assembly: Nucleus.Abstractions.dll
Represents a scheduled task that is running.
Constructor
RunningTask
(ScheduledTask, ScheduledTaskHistory) Constructor
RunningTask (ScheduledTask scheduledTask, ScheduledTaskHistory history)
Initializes a new instance with the specified ScheduledTask
Properties
History
Property
History item for the current task instance
Progress
Property
The current progress of the task.
ProgressCallback
Property
Progress update callback provider
ScheduledTask
Property
The ScheduledTask which contains user(administrator) settings for the task.
StartDate
Property
Date/time that the task was started
Task
Property
The System.Threading.Tasks.Task
Methods
HandleProgress
(Object, ScheduledTaskProgress) Method
HandleProgress (Object sender, ScheduledTaskProgress progress)
Updates the current progress of the task.
Events
OnProgress
Event
Event raised when progress is reported by the task.