FileLoadException Constructor
.NET Framework 4
Initializes a new instance of the FileLoadException class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
FileLoadException() | Initializes a new instance of the FileLoadException class, setting the 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. |
|
FileLoadException(String) | Initializes a new instance of the FileLoadException class with the specified error message. |
|
FileLoadException(SerializationInfo, StreamingContext) | Initializes a new instance of the FileLoadException class with serialized data. |
|
FileLoadException(String, Exception) | Initializes a new instance of the FileLoadException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
|
FileLoadException(String, String) | Initializes a new instance of the FileLoadException class with a specified error message and the name of the file that could not be loaded. |
|
FileLoadException(String, String, Exception) | Initializes a new instance of the 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. |