C# Класс Hourglass.Managers.ErrorManager

Manages global errors.
Наследование: Hourglass.Managers.Manager
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Instance ErrorManager

Открытые методы

Метод Описание
Initialize ( ) : void

Initializes the class.

Приватные методы

Метод Описание
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.

Описание методов

Initialize() публичный Метод

Initializes the class.
public Initialize ( ) : void
Результат void

Описание свойств

Instance публичное статическое свойство

Singleton instance of the ErrorManager class.
public static ErrorManager,Hourglass.Managers Instance
Результат ErrorManager