Edit

Share via


MediaElement.MediaFailed Event

Definition

Occurs when an error is encountered.

public:
 event EventHandler<System::Windows::ExceptionRoutedEventArgs ^> ^ MediaFailed;
public event EventHandler<System.Windows.ExceptionRoutedEventArgs> MediaFailed;
member this.MediaFailed : EventHandler<System.Windows.ExceptionRoutedEventArgs> 
Public Custom Event MediaFailed As EventHandler(Of ExceptionRoutedEventArgs) 

Event Type

Remarks

Routed Event Information

Item Value
Identifier field MediaFailedEvent
Routing strategy Bubbling
Delegate EventHandler<TEventArgs>, with constraint of ExceptionRoutedEventArgs.

Applies to