C# Class CK.Core.CriticalErrorCollector.Error

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

Méthodes publiques

Свойство Type Description
Comment string
Exception System.Exception
LostErrorCount int
SequenceNumber int

Méthodes publiques

Méthode Description
ToString ( ) : string

Overridden to return Comment and P:Exception message.

Private Methods

Méthode Description
Error ( string c, Exception e, int n, int lostErrorCount ) : System

Method Details

ToString() public méthode

Overridden to return Comment and P:Exception message.
public ToString ( ) : string
Résultat 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
Résultat string

Exception public_oe property

The exception.
public Exception,System Exception
Résultat 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
Résultat int

SequenceNumber public_oe property

Unique, increasing, sequence number.
public int SequenceNumber
Résultat int