Windows.UI.Xaml.MediaFailedRoutedEventArgs

June 22, 2022 ยท View on GitHub

-description

Provides event data for media failed events.

-remarks

MediaFailedRoutedEventArgs is the event data for the MediaFailed event. MediaFailedRoutedEventArgs extends ExceptionRoutedEventArgs by adding the ErrorTrace property. In a handler for MediaFailed, cast the ExceptionRoutedEventArgs data as MediaFailedRoutedEventArgs so that you can use the ErrorTrace information. Otherwise, if you're only interested in the message, you can access ErrorMessage without casting.

-examples

-see-also

ExceptionRoutedEventArgs, MediaFailed