Class TaskExecution
- Namespace
- Dynamicweb.Scheduling
- Assembly
- Dynamicweb.Core.dll
Represents a task execution in the task scheduling.
public sealed class TaskExecution
- Inheritance
-
TaskExecution
- Inherited Members
Properties
Duration
Calculates the duration of the task execution.
public TimeSpan? Duration { get; }
Property Value
EndTime
The time when the task execution ended. This can be null if the task is still running.
public DateTime? EndTime { get; set; }
Property Value
Id
Unique identifier for the task execution.
public long Id { get; }
Property Value
Output
The output or result of the task execution. This can be null if the task does not produce output.
public string? Output { get; set; }
Property Value
Result
Indicates whether the task execution was successful or not.
public bool Result { get; set; }
Property Value
ScheduleTime
The time when the task execution was scheduled to run.
public DateTime ScheduleTime { get; set; }
Property Value
StartTime
The time when the task execution started.
public DateTime StartTime { get; set; }
Property Value
TaskId
The identifier of the task that this execution belongs to.
public required int TaskId { get; init; }
Property Value
UserId
The identifier of the user who initiated the task execution.
public int? UserId { get; set; }
Property Value
- int?