C# Class Opc.Ua.ExceptionDlg

ファイルを表示 Open project: OPCFoundation/Misc-Tools

Public Methods

Method Description
ExceptionDlg ( ) : System

Initializes a new instance of the ExceptionDlg class.

Show ( string caption, Exception e ) : void

Displays the exception in a dialog.

ShowDialog ( string caption, Exception e ) : void

Display the exception in the dialog.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Add ( StringBuilder buffer, Exception e, bool showStackTrace ) : void
AddBlock ( StringBuilder buffer, string text ) : void
AddBlock ( StringBuilder buffer, string text, int level ) : void
InitializeComponent ( ) : void

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

OkButton_Click ( object sender, EventArgs e ) : void
ReplaceSpecialCharacters ( string message ) : string

Replaces all special characters in the message.

Show ( bool showStackTrace ) : void
ShowStackTracesCK_CheckedChanged ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

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

ExceptionDlg() public method

Initializes a new instance of the ExceptionDlg class.
public ExceptionDlg ( ) : System
return System

Show() public static method

Displays the exception in a dialog.
public static Show ( string caption, Exception e ) : void
caption string
e Exception
return void

ShowDialog() public method

Display the exception in the dialog.
public ShowDialog ( string caption, Exception e ) : void
caption string
e Exception
return void