Пример #1
0
 /// <summary>
 /// Removes the specified callback on the current Dispatcher ExceptionFilter event.
 /// </summary>
 public static void RemoveExceptionFilter(DispatcherUnhandledExceptionFilterEventHandler hook)
 {
     AddExceptionFilter(Dispatcher.CurrentDispatcher, hook);
 }
Пример #2
0
 /// <summary>
 /// Removes the specified callback on the specified Dispatcher ExceptionFilter event.
 /// </summary>
 public static void RemoveExceptionFilter(Dispatcher dispatcher, DispatcherUnhandledExceptionFilterEventHandler hook)
 {
     dispatcher.UnhandledExceptionFilter -= hook;
 }