Export (0) Print
Expand All

FileLoadException Constructor

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
Public method 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.
Public method FileLoadException(String) Initializes a new instance of the FileLoadException class with the specified error message.
Protected method FileLoadException(SerializationInfo, StreamingContext) Initializes a new instance of the FileLoadException class with serialized data.
Public method 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.
Public method 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.
Public method 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.
Top
Show:
© 2014 Microsoft