C# Class CK.Core.CriticalErrorCollector.Error

Encapsulates error information CriticalErrorCollector.Added by external code or raised by a CriticalErrorCollector.OnErrorFromBackgroundThreads event itself.
Mostrar archivo Open project: Invenietis/ck-core

Public Properties

Property Type Description
Comment string
Exception System.Exception
LostErrorCount int
SequenceNumber int

Public Methods

Method Description
ToString ( ) : string

Overridden to return Comment and P:Exception message.

Private Methods

Method Description
Error ( string c, Exception e, int n, int lostErrorCount ) : System

Method Details

ToString() public method

Overridden to return Comment and P:Exception message.
public ToString ( ) : string
return string

Property Details

Comment public_oe property

The origin or a description of the P:Exception. Never null but can be empty if no comment is provided while calling CriticalErrorCollector.Add.
public string Comment
return string

Exception public_oe property

The exception.
public Exception,System Exception
return System.Exception

LostErrorCount public_oe property

Holds the count of errors that have been discarded: too many critical errors occur in a too short time. When this field is greater than zero, this indicates a serious problem.
public int LostErrorCount
return int

SequenceNumber public_oe property

Unique, increasing, sequence number.
public int SequenceNumber
return int