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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.