Redigera

Dela via


BitmapSource.DecodeFailed Event

Definition

Occurs when the image fails to load, due to a corrupt image header.

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) 

Event Type

Remarks

DecodeFailed is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

XAML Text Usage

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

Applies to