Table of Contents

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

DateTime

IsErrorLine

public bool IsErrorLine { get; set; }

Property Value

bool

Message

public string? Message { get; set; }

Property Value

string

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

TimeSpan?

StartTime

public DateTime StartTime { get; set; }

Property Value

DateTime

Status

public string Status { get; }

Property Value

string

TaskId

public int TaskId { get; set; }

Property Value

int

Time

public string? Time { get; set; }

Property Value

string

UserId

public int? UserId { get; set; }

Property Value

int?

Methods

GetLogLine(string)

public static TaskLogLine GetLogLine(string logLine)

Parameters

logLine string

Returns

TaskLogLine

GetLogLine(string, string)

public static TaskLogLine GetLogLine(string logLine, string messageSeparator)

Parameters

logLine string
messageSeparator string

Returns

TaskLogLine

GetTaskExecutionFinishedMessage(Task)

public static string GetTaskExecutionFinishedMessage(Task task)

Parameters

task Task

Returns

string

GetTaskStartMessage(Task)

public static string GetTaskStartMessage(Task task)

Parameters

task Task

Returns

string
To top