C# Class Hourglass.Managers.ErrorManager

Manages global errors.
Inheritance: Hourglass.Managers.Manager
Afficher le fichier Open project: Dziemborowicz/Hourglass

Méthodes publiques

Свойство Type Description
Instance ErrorManager

Méthodes publiques

Méthode Description
Initialize ( ) : void

Initializes the class.

Private Methods

Méthode Description
AppDomainUnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void

Invoked when an exception is not caught.

ErrorManager ( ) : System

Prevents a default instance of the ErrorManager class from being created.

GetErrorDumpPath ( System.DateTime dateTime ) : string

Returns the path for the error dump with the specified suffix.

TryCleanErrorDumps ( ) : bool

Tries to limit the number of error messages written to files in the temporary files folder to .

TryDumpError ( string errorMessage, string &dumpPath ) : bool

Tries to write an error message to a file in the temporary files folder.

Method Details

Initialize() public méthode

Initializes the class.
public Initialize ( ) : void
Résultat void

Property Details

Instance public_oe static_oe property

Singleton instance of the ErrorManager class.
public static ErrorManager,Hourglass.Managers Instance
Résultat ErrorManager