August 2003
Intermediate to advanced
928 pages
32h 1m
English
InvalidProgramException
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(stringmessage); public InvalidProgramException(stringmessage, Exceptioninner); }
Object
→
Exception(System.Runtime.Serialization.ISerializable)
→
SystemException
→
InvalidProgramException