Creates a new instance of the FileNotFoundException class with optional message string and Exception reference.
Creates a new instance of the FileNotFoundException class with its message string set to the empty string ("") and its HRESULT set to COR_E_FILENOTFOUND.
[Visual Basic] Overloads Public Sub New()
[C#] public FileNotFoundException();
[C++] public: FileNotFoundException();
[JScript] public function FileNotFoundException();
Creates a new instance of the FileNotFoundException class with its message string set to message and its HRESULT set to COR_E_FILENOTFOUND.
[Visual Basic] Overloads Public Sub New(String)
[C#] public FileNotFoundException(String);
[C++] public: FileNotFoundException(String*);
[JScript] public function FileNotFoundException(String);
Creates a new instance of the FileNotFoundException class with its message string set to message and inner and its HRESULT set to COR_E_FILENOTFOUND.
[Visual Basic] Overloads Public Sub New(String, Exception)
[C#] public FileNotFoundException(String, Exception);
[C++] public: FileNotFoundException(String*, Exception);
[JScript] public function FileNotFoundException(String, Exception);
FileNotFoundException Class | FileNotFoundException Members | System.IO Namespace