C# Class NanoByte.Common.Controls.ErrorReportForm

Afficher le fichier Open project: nano-byte/common Class Usage Examples

Méthodes publiques

Méthode Description
Report ( Exception ex, Uri uploadUri ) : void

Displays the error reporting form.

Modal to all windows on the current thread. Creates a new message loop if none exists.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
ErrorReportForm ( Exception exception, Uri uploadUri ) : System

Prepares reporting an error.

GenerateReportFile ( ) : string

Generates a ZIP archive containing crash information.

HideForms ( ) : void
InitializeComponent ( ) : void

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

OnUploadFileCompleted ( object uploadSender, UploadFileCompletedEventArgs uploadEventArgs ) : void
SetupMonitoring ( Uri uploadUri ) : void
buttonCancel_Click ( object sender, EventArgs e ) : void
buttonReport_Click ( object sender, EventArgs e ) : void

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

Report() public static méthode

Displays the error reporting form.
Modal to all windows on the current thread. Creates a new message loop if none exists.
public static Report ( Exception ex, Uri uploadUri ) : void
ex Exception The exception to report.
uploadUri Uri The URI to upload error reports to.
Résultat void