Inheritance: System.Windows.Forms.Form
        protected override void OnReportException(ReportExceptionEventArgs e) {
            LogError(e.Exception);
            TryAddFullExceptionTrace(e);
            TryAddSystemInfo(e);

            // TODO: Find the ReportId... and include it..

            var route = new KnownExceptions().Handle(e.Exception, e);

            if (route) {
                // Route on to SA
                var form = new ExceptionReportingForm(this, e);
                form.ShowDialog();
            } else {
                // Lets just try to continue...
                e.TryToContinue = true;
            }
        }
Ejemplo n.º 2
0
        protected override void OnReportException(ReportExceptionEventArgs e)
        {
            LogError(e.Exception);
            TryAddFullExceptionTrace(e);
            TryAddSystemInfo(e);

            // TODO: Find the ReportId... and include it..

            var route = new KnownExceptions().Handle(e.Exception, e);

            if (route)
            {
                // Route on to SA
                var form = new ExceptionReportingForm(this, e);
                form.ShowDialog();
            }
            else
            {
                // Lets just try to continue...
                e.TryToContinue = true;
            }
        }