C# Class BF2Statistics.ExceptionForm

Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Protected Properties

Свойство Type Description
ExceptionObj Exception
_logFile string

Méthodes publiques

Méthode Description
ExceptionForm ( Exception E, bool Recoverable ) : System

Constructor

ShowDbConnectError ( DbConnectException e ) : void

Displays a custom version of this form to display database connection errors

ShowDialog ( ) : DialogResult
ShowDialog ( IWin32Window owner ) : DialogResult
ShowDialog ( bool AppendExceptionMessage ) : DialogResult
ShowTemplateError ( TemplateCompilationException E, string TemplateFile ) : DialogResult

Displays a custom version of this form to display Razor template compile errors

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

buttonDetails_Click ( object sender, EventArgs e ) : void

Expands / Hides the exception details panel

buttonViewLog_Click ( object sender, EventArgs e ) : void

Opens the Trace Log in a text editor

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

ExceptionForm() public méthode

Constructor
public ExceptionForm ( Exception E, bool Recoverable ) : System
E Exception The exception object
Recoverable bool Defines if the exception is recoverable
Résultat System

ShowDbConnectError() public static méthode

Displays a custom version of this form to display database connection errors
public static ShowDbConnectError ( DbConnectException e ) : void
e DbConnectException
Résultat void

ShowDialog() public méthode

public ShowDialog ( ) : DialogResult
Résultat DialogResult

ShowDialog() public méthode

public ShowDialog ( IWin32Window owner ) : DialogResult
owner IWin32Window
Résultat DialogResult

ShowDialog() public méthode

public ShowDialog ( bool AppendExceptionMessage ) : DialogResult
AppendExceptionMessage bool
Résultat DialogResult

ShowTemplateError() public static méthode

Displays a custom version of this form to display Razor template compile errors
public static ShowTemplateError ( TemplateCompilationException E, string TemplateFile ) : DialogResult
E TemplateCompilationException
TemplateFile string
Résultat DialogResult

Property Details

ExceptionObj protected_oe property

The exception
protected Exception ExceptionObj
Résultat Exception

_logFile protected_oe property

protected string _logFile
Résultat string