Table of Contents

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

int

EndTime

Gets end time
public DateTime EndTime { get; }

Property Value

DateTime

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

string

FailExceptionStackTrace

Gets exception stack trace
public string FailExceptionStackTrace { get; }

Property Value

string

FailReason

Gets reason of fail
public string FailReason { get; }

Property Value

string

LatestLogInformation

Gets last log entry information
public string LatestLogInformation { get; }

Property Value

string

Meta

Gets metadata
public IDictionary<string, string> Meta { get; }

Property Value

IDictionary<string, string>

Runtime

Gets time gone from start
public TimeSpan Runtime { get; }

Property Value

TimeSpan

StartTime

Gets start time
public DateTime StartTime { get; }

Property Value

DateTime

State

Gets tracking state
public TrackingState State { get; }

Property Value

TrackingState

TotalCount

Gets total count
public int TotalCount { get; set; }

Property Value

int

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
To top