System.IO.FileLoadException Members

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

See Also: Inherited members from System.IO.IOException

Public Constructors

Initializes a new instance of the System.IO.FileLoadException class, setting the Exception.Message property of the new instance to a system-supplied message that describes the error, such as "Could not load the specified file." This message takes into account the current system culture.

Initializes a new instance of the System.IO.FileLoadException class with the specified error message.

Initializes a new instance of the System.IO.FileLoadException 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.FileLoadException class with a specified error message and the name of the file that could not be loaded.

Initializes a new instance of the System.IO.FileLoadException class with a specified error message, the name of the file that could not be loaded, and a reference to the inner exception that is the cause of this exception.

Protected Constructors

Public Properties

[read-only]
FileNamestring.

Gets the name of the file that causes this exception.

[read-only]
FusionLogstring.

Gets the log file that describes why an assembly load failed.

[read-only]
override
Messagestring.

Gets the error message and the name of the file that caused this exception.

Public Methods

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

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

override
ToString() : string

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