public static UnmanagedEventHandler CreateExceptionRoutedEventArgsEventHandlerDispatcher (EventHandler <ExceptionRoutedEventArgs> handler)
{
return SafeDispatcher ( (sender, calldata, closure)
=> { object o = NativeDependencyObjectHelper.FromIntPtr (closure);
ExceptionRoutedEventArgs args = ExceptionRoutedEventArgs.FromErrorEventArgs (calldata);
args.OriginalSource = o;
handler (o, args); } );
}