Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.21 KB

mediafailedroutedeventargs.md

File metadata and controls

23 lines (15 loc) · 1.21 KB
-api-id -api-type
T:Windows.UI.Xaml.MediaFailedRoutedEventArgs
winrt class

Windows.UI.Xaml.MediaFailedRoutedEventArgs

-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