BadImageFormatException コンストラクタ ()
アセンブリ: mscorlib (mscorlib.dll 内)
構文
解説
このコンストラクタは、新しいインスタンスの Message プロパティを初期化し、その値として "実行可能ファイルまたはライブラリの形式が無効です" などのエラーを説明するシステム提供のメッセージを指定します。このメッセージは、システムの現在のカルチャを考慮して指定します。
BadImageFormatException のインスタンスの初期プロパティ値を次の表に示します。
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
BadImageFormatException コンストラクタ (String, String)
アセンブリ: mscorlib (mscorlib.dll 内)
構文
Dim message As String Dim fileName As String Dim instance As New BadImageFormatException(message, fileName)
message パラメータの内容は、ユーザーが理解できる内容にします。このコンストラクタの呼び出し元は、この文字列が現在のシステムのカルチャに合わせてローカライズ済みであることを確認しておく必要があります。
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
BadImageFormatException コンストラクタ (String, String, Exception)
アセンブリ: mscorlib (mscorlib.dll 内)
構文
Dim message As String Dim fileName As String Dim inner As Exception Dim instance As New BadImageFormatException(message, fileName, inner)
前の例外の直接の結果としてスローされる例外については、InnerException プロパティに、前の例外への参照が格納されます。InnerException プロパティは、コンストラクタに渡されたものと同じ値を返します。InnerException プロパティによって内部例外値がコンストラクタに渡されなかった場合は、null 参照 (Visual Basic では Nothing) を返します。
BadImageFormatException のインスタンスの初期プロパティ値を次の表に示します。
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
BadImageFormatException コンストラクタ (String, Exception)
アセンブリ: mscorlib (mscorlib.dll 内)
構文
Dim message As String Dim inner As Exception Dim instance As New BadImageFormatException(message, inner)
前の例外の直接の結果としてスローされる例外については、InnerException プロパティに、前の例外への参照が格納されます。InnerException プロパティは、コンストラクタに渡されたものと同じ値を返します。InnerException プロパティによって内部例外値がコンストラクタに渡されなかった場合は、null 参照 (Visual Basic では Nothing) を返します。
BadImageFormatException のインスタンスの初期プロパティ値を次の表に示します。
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
BadImageFormatException コンストラクタ (String)
アセンブリ: mscorlib (mscorlib.dll 内)
構文
解説
message パラメータの内容は、ユーザーが理解できる内容にします。このコンストラクタの呼び出し元は、この文字列が現在のシステムのカルチャに合わせてローカライズ済みであることを確認しておく必要があります。
BadImageFormatException のインスタンスの初期プロパティ値を次の表に示します。
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
BadImageFormatException コンストラクタ
オーバーロードの一覧
名前 | 説明 |
---|---|
BadImageFormatException () | BadImageFormatException クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |
BadImageFormatException (String) | 指定したエラー メッセージを使用して、BadImageFormatException クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |
BadImageFormatException (SerializationInfo, StreamingContext) | シリアル化したデータを使用して、BadImageFormatException クラスの新しいインスタンスを初期化します。 |
BadImageFormatException (String, Exception) | 指定したエラー メッセージと、この例外の原因である内部例外への参照を使用して、BadImageFormatException クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |
BadImageFormatException (String, String) | 指定したエラー メッセージとファイル名を使用して、BadImageFormatException クラスの新しいインスタンスを初期化します。 |
BadImageFormatException (String, String, Exception) | 指定したエラー メッセージと、この例外の原因である内部例外への参照を使用して、BadImageFormatException クラスの新しいインスタンスを初期化します。 |
BadImageFormatException コンストラクタ (SerializationInfo, StreamingContext)
アセンブリ: mscorlib (mscorlib.dll 内)
構文
Dim info As SerializationInfo Dim context As StreamingContext Dim instance As New BadImageFormatException(info, context)
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
Weblioに収録されているすべての辞書からBadImageFormatException コンストラクタ ()を検索する場合は、下記のリンクをクリックしてください。
全ての辞書からBadImageFormatException コンストラクタ ()を検索
- BadImageFormatException コンストラクタ ()のページへのリンク