Presents the user with a friendly interface in case of an error, offering to report it to the developers.
More...
|
static void | SetupMonitoring (Uri uploadUri) |
| Sets up hooks that catch and report any unhandled exceptions. Calling this more than once has no effect. More...
|
|
static void | Report (Exception ex, Uri uploadUri) |
| Displays the error reporting form. More...
|
|
|
override void | Dispose (bool disposing) |
| Clean up any resources being used. More...
|
|
Presents the user with a friendly interface in case of an error, offering to report it to the developers.
This class should only be used by System.Windows.Forms applications.
◆ Dispose()
override void NanoByte.Common.Controls.ErrorReportForm.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotected |
Clean up any resources being used.
- Parameters
-
disposing | true if managed resources should be disposed; otherwise, false. |
◆ Report()
static void NanoByte.Common.Controls.ErrorReportForm.Report |
( |
Exception |
ex, |
|
|
Uri |
uploadUri |
|
) |
| |
|
inlinestatic |
Displays the error reporting form.
- Parameters
-
ex | The exception to report. |
uploadUri | The URI to upload error reports to. |
Modal to all windows on the current thread. Creates a new message loop if none exists.
◆ SetupMonitoring()
static void NanoByte.Common.Controls.ErrorReportForm.SetupMonitoring |
( |
Uri |
uploadUri | ) |
|
|
inlinestatic |
Sets up hooks that catch and report any unhandled exceptions. Calling this more than once has no effect.
- Parameters
-
uploadUri | The URI to upload error reports to. |
If an exception is caught any remaining threads will continue to execute until the error has been reported. Then the entire process will be terminated.
The documentation for this class was generated from the following files:
- Common.WinForms/Controls/ErrorReportForm.cs
- Common.WinForms/Controls/ErrorReportForm.Designer.cs