Android_UEFIInstaller.MainWindow.MyHandler C# (CSharp) Method

MyHandler() static private method

static private MyHandler ( object sender, UnhandledExceptionEventArgs args ) : void
sender object
args System.UnhandledExceptionEventArgs
return void
        static void MyHandler(object sender, UnhandledExceptionEventArgs args)
        {
            Exception e = (Exception)args.ExceptionObject;
            Log.write("MyHandler caught : " + e.Message);
            Log.write(String.Format("Runtime terminating: {0}", args.IsTerminating));
            Log.save();
        }