BitmapSource.DownloadFailed 事件

定义

在无法下载位图内容时发生。

public:
 virtual event EventHandler<System::Windows::Media::ExceptionEventArgs ^> ^ DownloadFailed;
public virtual event EventHandler<System.Windows.Media.ExceptionEventArgs> DownloadFailed;
member this.DownloadFailed : EventHandler<System.Windows.Media.ExceptionEventArgs> 
Public Overridable Custom Event DownloadFailed As EventHandler(Of ExceptionEventArgs) 

事件类型

EventHandler<ExceptionEventArgs>

注解

对于所有类型的位图内容,可能不会引发此事件。

XAML 文本用法

<object DownloadFailed="EventHandler" .../>

适用于