JobInfo constructor
Represents a scheduled task with its configuration and state.
public JobInfo(string Name, DateTimeOffset? LastRunAt, DateTimeOffset NextRunAt, bool IsSuspended,
bool IsCompleted = false)
parameter | description |
---|---|
Name | The name of the scheduled task. |
LastRunAt | The last time the task was run. |
NextRunAt | The next scheduled run time for the task. |
IsSuspended | Indicates whether the task is currently suspended. |
IsCompleted | Indicates whether the scheduling loop has exited (task fully cancelled). |
Remarks
This class encapsulates the details of a scheduled task, including its name, last run time, next run time, and whether it is currently suspended. It is used internally by the scheduler to manage and report on scheduled tasks.
See Also
- recordĀ JobInfo
- namespaceĀ Kestrun.Scheduling