void RaiseImageFailedEvent(Exception exp) { AnimationImageExceptionRoutedEventArgs newArgs = new AnimationImageExceptionRoutedEventArgs(ImageFailedEvent, this); newArgs.ErrorException = exp; RaiseEvent(newArgs); }