FileLoadException Constructor

FileLoadException Constructor ()


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.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

public FileLoadException()

The InnerException property and FileName property of the new instance are initialized to null.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft