System.IO.FileNotFoundException Members

The members of System.IO.FileNotFoundException are listed below.

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.

Public Properties

[read-only]
FileNamestring.

Gets the name of the file that cannot be found.

[read-only]
FusionLogstring.

Gets the log file that describes why loading of an assembly failed.

[read-only]
override
Messagestring.

Gets the error message that explains the reason for the exception.

Public Methods

override
GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Sets the System.Runtime.Serialization.SerializationInfo object with the file name and additional exception information.

override
ToString() : string

Returns the fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.