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 で導入されています。 詳細については、「.NET Framework のバージョンおよび依存関係」を参照してください。

XAML テキストの使用法

<オブジェクト DecodeFailed="EventHandler" .../>

適用対象