Nucleus .Net Core CMS

Models.TaskScheduler.RunningTask Class

Namespace: Nucleus.Abstractions.Models.TaskScheduler
Assembly: Nucleus.Abstractions.dll
Represents a scheduled task that is running.

Constructor

Nucleus.Abstractions.Models.TaskScheduler.RunningTask Constructor

Nucleus.Abstractions.Models.TaskScheduler.RunningTask (ScheduledTask scheduledTask, ScheduledTaskHistory history)
Initializes a new instance with the specified ScheduledTask

Properties

ScheduledTask Property

The ScheduledTask which contains user(administrator) settings for the task.

History Property

History item for the current task instance

Task Property

The System.Threading.Tasks.Task

Progress Property

The current progress of the task.

ProgressCallback Property

Progress update callback provider

StartDate Property

Date/time that the task was started

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.