Class TaskLogLine
- Namespace
- Dynamicweb.Scheduling
- Assembly
- Dynamicweb.Core.dll
public class TaskLogLine
- Inheritance
-
TaskLogLine
- Inherited Members
Properties
EndTime
public DateTime EndTime { get; set; }
Property Value
IsErrorLine
public bool IsErrorLine { get; set; }
Property Value
Message
public string? Message { get; set; }
Property Value
RunTime
Duration of the execution, or null when the execution has no end time (still running or never finished) or the line was not read from the task execution history.
public TimeSpan? RunTime { get; set; }
Property Value
StartTime
public DateTime StartTime { get; set; }
Property Value
Status
public string Status { get; }
Property Value
TaskId
public int TaskId { get; set; }
Property Value
Time
public string? Time { get; set; }
Property Value
UserId
public int? UserId { get; set; }
Property Value
- int?
Methods
GetLogLine(string)
public static TaskLogLine GetLogLine(string logLine)
Parameters
logLinestring
Returns
GetLogLine(string, string)
public static TaskLogLine GetLogLine(string logLine, string messageSeparator)
Parameters
Returns
GetTaskExecutionFinishedMessage(Task)
public static string GetTaskExecutionFinishedMessage(Task task)
Parameters
taskTask
Returns
GetTaskStartMessage(Task)
public static string GetTaskStartMessage(Task task)
Parameters
taskTask