Class ErrorBox
A dialog displaying an error message and details.
public sealed class ErrorBox : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
- Inheritance
-
objectMarshalByRefObjectErrorBox
- Implements
- Inherited Members
- Extension Methods
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed; otherwise, false.
Show(IWin32Window?, Exception, RtfBuilder?)
Displays an error box with a message and details.
public static void Show(IWin32Window? owner, Exception exception, RtfBuilder? log = null)
Parameters
ownerIWin32WindowThe parent window for the dialog; can be
null.exceptionExceptionThe error message to display.
logRtfBuilderOptional log messages.