JobInfo record

Represents a scheduled task with its configuration and state.

public record JobInfo

Public Members

name description
JobInfo(…) Represents a scheduled task with its configuration and state.
IsCompleted { get; set; } Indicates whether the scheduling loop has exited (task fully cancelled).
IsSuspended { get; set; } Indicates whether the task is currently suspended.
LastRunAt { get; set; } The last time the task was run.
Name { get; set; } The name of the scheduled task.
NextRunAt { get; set; } The next scheduled run time for the task.

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