BitmapSource.DecodeFailed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.