Class Status
- Namespace
- Dynamicweb.Diagnostics.Tracking
- Assembly
- Dynamicweb.Diagnostics.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; }
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; }
Property Value
FailExceptionStackTrace
Gets exception stack trace
public string FailExceptionStackTrace { get; }
Property Value
FailReason
Gets reason of fail
public string FailReason { get; }
Property Value
LatestLogInformation
Gets last log entry information
public string LatestLogInformation { get; }
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; }
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
string- The status folder path
Returns
- Status
- The status instance
SaveOrUpdate(string)
Saves new one or update existing status
public void SaveOrUpdate(string folderPath)
Parameters
folderPath
string- The status folder path