BitmapSource.DecodeFailed 事件

定义

在由于图像标题损坏而无法下载图像时发生。

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

事件类型

注解

DecodeFailed在 .NET Framework 版本 3.5 中引入。 有关详细信息,请参见版本和依赖关系

XAML 文本用法

<对象 DecodeFailed=“EventHandler” .../>

适用于