public AnimationErrorEventArgs(object source, Exception exception, AnimationErrorKind kind)
        {
            Source = source;
#endif
            Exception = exception;
            Kind = kind;
        }
Esempio n. 2
0
        internal void OnError(Image image, Exception exception, AnimationErrorKind kind)
        {
#if WPF
            image.RaiseEvent(new AnimationErrorEventArgs(image, exception, kind));
#elif WINRT
            Error?.Invoke(image, new AnimationErrorEventArgs(exception, kind));
#endif
        }
        public AnimationErrorEventArgs(Exception exception, AnimationErrorKind kind)
#endif
        {
            Exception = exception;
            Kind = kind;
        }
 public AnimationErrorEventArgs(object source, Exception exception, AnimationErrorKind kind)
     : base(AnimationBehavior.ErrorEvent, source)