/// <summary> /// Removes the specified callback on the current Dispatcher ExceptionFilter event. /// </summary> public static void RemoveExceptionFilter(DispatcherUnhandledExceptionFilterEventHandler hook) { AddExceptionFilter(Dispatcher.CurrentDispatcher, hook); }
/// <summary> /// Removes the specified callback on the specified Dispatcher ExceptionFilter event. /// </summary> public static void RemoveExceptionFilter(Dispatcher dispatcher, DispatcherUnhandledExceptionFilterEventHandler hook) { dispatcher.UnhandledExceptionFilter -= hook; }