The exception that is thrown when a managed assembly is found but cannot be loaded.
For a list of all members of this type, see FileLoadException Members.
[Visual Basic] <Serializable> Public Class FileLoadException Inherits IOException [C#] [Serializable] public class FileLoadException : IOException [C++] [Serializable] public __gc class FileLoadException : public IOException [JScript] public Serializable class FileLoadException extends IOException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Represents the error that occurs when a Assembly file is found but cannot be loaded.
The FileNotFoundException exception is thrown when the file fails to load because it cannot be located. If the file is located, but cannot be loaded due to insufficient permissions, a SecurityException is thrown.
FileLoadException has the default HRESULT of COR_E_FILELOAD, which has the value 0x80131621, but this is not the only possible HRESULT.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)