System::Details_BadImageFormatException Class Reference

Inherits System::Details_ExceptionWithFilename< Details_SystemException >.

Additional Inherited Members

- Public Member Functions inherited from System::Details_ExceptionWithFilename< Details_SystemException >
virtual String get_FileName () const
 Gets the name of the file that causes this exception. More...
 
virtual String get_Message () const override
 
virtual String ToString () const override
 

Detailed Description

The exception that is thrown when the file image of a dynamic link library (DLL) or an executable program is invalid. Never create instances of this class manually. Use the BadImageFormatException class instead. Never wrap the BadImageFormatException class instances into System::SmartPtr.