コード例 #1
0
 private static void RegisterExceptionHandler()
 {
     AppDomain.get_CurrentDomain().add_UnhandledException(new UnhandledExceptionEventHandler(BugtraceAgent.UncaughtExceptionHandler));
     BugtraceAgent.s_oldLogCallback = BugtraceAgent.GetCurrentLogCallback();
     Application.RegisterLogCallback(new Application.LogCallback(BugtraceAgent.LogCallbackHandler));
 }