FileNotFoundException コンストラクタ (String, Exception)
アセンブリ: mscorlib (mscorlib.dll 内)

Dim message As String Dim innerException As Exception Dim instance As New FileNotFoundException(message, innerException)

前の例外の直接の結果としてスローされる例外については、InnerException プロパティに、前の例外への参照が格納されます。InnerException プロパティは、コンストラクタに渡されたものと同じ値を返します。InnerException プロパティによって内部例外値がコンストラクタに渡されなかった場合は、null 参照 (Visual Basic では Nothing) を返します。
FileNotFoundException のインスタンスの初期プロパティ値を次の表に示します。

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


FileNotFoundException コンストラクタ (String, String, Exception)
アセンブリ: mscorlib (mscorlib.dll 内)

Dim message As String Dim fileName As String Dim innerException As Exception Dim instance As New FileNotFoundException(message, fileName, innerException)
public function FileNotFoundException ( message : String, fileName : String, innerException : Exception )

前の例外の直接の結果としてスローされる例外については、InnerException プロパティに、前の例外への参照が格納されます。InnerException プロパティは、コンストラクタに渡されたものと同じ値を返します。InnerException プロパティによって内部例外値がコンストラクタに渡されなかった場合は、null 参照 (Visual Basic では Nothing) を返します。
FileNotFoundException のインスタンスの初期プロパティ値を次の表に示します。

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


FileNotFoundException コンストラクタ (String)
アセンブリ: mscorlib (mscorlib.dll 内)



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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


FileNotFoundException コンストラクタ (SerializationInfo, StreamingContext)
アセンブリ: mscorlib (mscorlib.dll 内)

Dim info As SerializationInfo Dim context As StreamingContext Dim instance As New FileNotFoundException(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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


FileNotFoundException コンストラクタ

名前 | 説明 |
---|---|
FileNotFoundException () | メッセージ文字列がシステムによって提供されたメッセージに設定され、HRESULT が COR_E_FILENOTFOUND に設定された FileNotFoundException クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |
FileNotFoundException (String) | メッセージ文字列を message に設定し、HRESULT を COR_E_FILENOTFOUND に設定して、FileNotFoundException クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |
FileNotFoundException (SerializationInfo, StreamingContext) | 指定したシリアル化情報とコンテキスト情報を使用して、FileNotFoundException クラスの新しいインスタンスを初期化します。 |
FileNotFoundException (String, Exception) | 指定したエラー メッセージと、この例外の原因である内部例外への参照を使用して、FileNotFoundException クラスの新しいインスタンスを初期化します。 |
FileNotFoundException (String, String) | メッセージ文字列を message に設定し、見つからなかったファイル名を指定し、HRESULT を COR_E_FILENOTFOUND に設定して、FileNotFoundException クラスの新しいインスタンスを初期化します。 |
FileNotFoundException (String, String, Exception) | 指定したエラー メッセージと、この例外の原因である内部例外への参照を使用して、FileNotFoundException クラスの新しいインスタンスを初期化します。 |

FileNotFoundException コンストラクタ (String, String)
アセンブリ: mscorlib (mscorlib.dll 内)

Dim message As String Dim fileName As String Dim instance As New FileNotFoundException(message, fileName)


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


FileNotFoundException コンストラクタ ()
アセンブリ: mscorlib (mscorlib.dll 内)


このコンストラクタは、新しいインスタンスの Message プロパティを、"指定されたファイルが見つかりません。" などのエラーを説明するシステム提供のメッセージに初期化します。このメッセージは、システムの現在のカルチャを考慮して指定します。

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- FileNotFoundException コンストラクタのページへのリンク