BitmapSource.DecodeFailed 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由于映像标头损坏,映像无法加载时发生。
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)
事件类型
注解
.NET Framework 版本 3.5 中引入了 DecodeFailed。 有关详细信息,请参阅 版本和依赖项。
XAML 文本用法
< 对象 DecodeFailed=“EventHandler” .../>