This documentation is archived and is not being maintained.

InvalidProgramException Constructor

Initializes a new instance of the InvalidProgramException class.

Name Description
InvalidProgramException () Initializes a new instance of the InvalidProgramException class with default properties.

Supported by the .NET Compact Framework.

InvalidProgramException (String) Initializes a new instance of the InvalidProgramException class with a specified error message.

Supported by the .NET Compact Framework.

InvalidProgramException (String, Exception) Initializes a new instance of the InvalidProgramException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Supported by the .NET Compact Framework.

Show: