System.IO.FileNotFoundException: Constructor Members

The constructors of System.IO.FileNotFoundException are listed below. For a list of all members, see the FileNotFoundException Members list.

See Also: Inherited members from System.IO.IOException

Public Constructors

Initializes a new instance of the System.IO.FileNotFoundException class with its message string set to a system-supplied message and its HRESULT set to COR_E_FILENOTFOUND.

Initializes a new instance of the System.IO.FileNotFoundException class with its message string set to message and its HRESULT set to COR_E_FILENOTFOUND.

Initializes a new instance of the System.IO.FileNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Initializes a new instance of the System.IO.FileNotFoundException class with its message string set to message, specifying the file name that cannot be found, and its HRESULT set to COR_E_FILENOTFOUND.

Initializes a new instance of the System.IO.FileNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Protected Constructors

Initializes a new instance of the System.IO.FileNotFoundException class with the specified serialization and context information.