Exemple #1
0
        public static void OnThreadException(object sender, UnhandledExceptionEventArgs e)
        {
            System.Exception error = (System.Exception)e.ExceptionObject;

            unsafe { ErrorHandler eh = new ErrorHandler( ref error ); }
        }
Exemple #2
0
        public static void OnThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
        {
            System.Exception error = e.Exception;

            ErrorHandler eh = new ErrorHandler( ref error );
        }