private Application_UnhandledException ( object sender, ApplicationUnhandledExceptionEventArgs e ) : void | ||
sender | object | |
e | ApplicationUnhandledExceptionEventArgs | |
return | void |
private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
{
if (System.Diagnostics.Debugger.IsAttached)
{
// An unhandled exception has occurred; break into the debugger
System.Diagnostics.Debugger.Break();
}
}