MediaElement.MediaFailed 事件

定义

当遇到错误时发生。

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) 

事件类型

注解

路由事件信息

标识符字段 MediaFailedEvent
路由策略 鼓 泡
委托 EventHandler<TEventArgs>,约束为 ExceptionRoutedEventArgs

适用于