InvalidProgramException

InvalidProgramExceptionCF 1.0, ECMA 1.0, serializable

System (mscorlib.dll)sealed class

This exception indicates that the .NET execution engine found some invalid code or metadata in a program. This can be caused by a compiler bug that generates malformed MSIL (Microsoft Intermediate Language) instructions.

public sealed class InvalidProgramException : SystemException {
// Public Constructors
   public InvalidProgramException( );
   public InvalidProgramException(string message);
   public InvalidProgramException(string message, Exception inner);
}

Hierarchy

Object Exception(System.Runtime.Serialization.ISerializable) SystemException InvalidProgramException



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System