'Declaration
Function ReportException( _ ByVal exception As Exception, _ ByVal category As String, _ ByVal canContinue As Boolean, _ ByVal waitForResponse As Boolean _ ) As DialogResult
DialogResult ReportException( Exception exception, string category, bool canContinue, bool waitForResponse )
Parameters
- exception
- An Exception object to record as a log message. This call is ignored if null.
- category
- The application subsystem or logging category that the message will be associated with.
- canContinue
- True if the application can continue after this call, false if this is a fatal error and the application can not continue after this call.
- waitForResponse
- True to wait for the user to respond to the dialog box, false to return immediately. (Only waits if in a Windows application.)
Return Value
- DialogResult.Abort: The user has elected to restart the application and it will exit imminently.
- DialogResult.OK: The user has elected to continue execution of the application despite the error.