Class Status
- Namespace
- Dynamicweb.Diagnostics.Tracking
- Assembly
- Dynamicweb.Core.dll
The Class Status provides represents the position of affairs at a particular time
public class Status
- Inheritance
-
Status
- Inherited Members
Properties
CurrentCount
Gets current count
public int CurrentCount { get; }
Property Value
EndTime
Gets end time
public DateTime EndTime { get; }
Property Value
FailException
Gets the fail exception.
public Exception? FailException { get; set; }
Property Value
- Exception
The fail exception.
Remarks
Wont be persisted/read from disk. Only available while the object lives.
FailExceptionMessage
Gets exception message
public string? FailExceptionMessage { get; set; }
Property Value
FailExceptionStackTrace
Gets exception stack trace
public string? FailExceptionStackTrace { get; set; }
Property Value
FailReason
Gets reason of fail
public string? FailReason { get; set; }
Property Value
LatestLogInformation
Gets last log entry information
public string? LatestLogInformation { get; set; }
Property Value
Meta
Gets metadata
public IDictionary<string, string> Meta { get; }
Property Value
Runtime
Gets time gone from start
public TimeSpan Runtime { get; }
Property Value
StartTime
Gets start time
public DateTime StartTime { get; }
Property Value
State
Gets tracking state
public TrackingState State { get; set; }
Property Value
TotalCount
Gets total count
public int TotalCount { get; set; }
Property Value
Methods
Load(string)
Loads status from directory
public static Status? Load(string folderPath)
Parameters
folderPath
stringThe status folder path
Returns
- Status
The status instance
SaveOrUpdate(string)
Saves new one or update existing status
public void SaveOrUpdate(string folderPath)
Parameters
folderPath
stringThe status folder path