mscorlib(4.0.0.0) API with additions
InvalidProgramException.cs
1
using
System
.
Runtime
.
InteropServices
;
2
using
System
.
Runtime
.
Serialization
;
3
4
namespace
System
5
{
7
[
Serializable
]
8
[ComVisible(
true
)]
9
[__DynamicallyInvokable]
10
public
sealed
class
InvalidProgramException
:
SystemException
11
{
13
[__DynamicallyInvokable]
14
public
InvalidProgramException
()
15
: base(
Environment
.GetResourceString(
"InvalidProgram_Default"
))
16
{
17
SetErrorCode(-2146233030);
18
}
19
22
[__DynamicallyInvokable]
23
public
InvalidProgramException
(
string
message)
24
: base(message)
25
{
26
SetErrorCode(-2146233030);
27
}
28
32
[__DynamicallyInvokable]
33
public
InvalidProgramException
(
string
message,
Exception
inner)
34
: base(message, inner)
35
{
36
SetErrorCode(-2146233030);
37
}
38
39
internal
InvalidProgramException
(
SerializationInfo
info,
StreamingContext
context)
40
: base(info, context)
41
{
42
}
43
}
44
}
System.SystemException
Serves as the base class for system exceptions namespace.
Definition:
SystemException.cs:9
System.InvalidProgramException
The exception that is thrown when a program contains invalid Microsoft intermediate language (MSIL) o...
Definition:
InvalidProgramException.cs:10
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.Runtime.Serialization.StreamingContext
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Definition:
StreamingContext.cs:9
System.Environment
Provides information about, and means to manipulate, the current environment and platform....
Definition:
Environment.cs:21
System.InvalidProgramException.InvalidProgramException
InvalidProgramException(string message)
Initializes a new instance of the T:System.InvalidProgramException class with a specified error messa...
Definition:
InvalidProgramException.cs:23
System.Runtime.Serialization
Definition:
DeserializationEventHandler.cs:1
System.Runtime.Serialization.SerializationInfo
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Definition:
SerializationInfo.cs:12
System.Exception
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition:
Exception.cs:22
System.Reflection.TypeAttributes.Serializable
Specifies that the class can be serialized.
System.InvalidProgramException.InvalidProgramException
InvalidProgramException()
Initializes a new instance of the T:System.InvalidProgramException class with default properties.
Definition:
InvalidProgramException.cs:14
System.InvalidProgramException.InvalidProgramException
InvalidProgramException(string message, Exception inner)
Initializes a new instance of the T:System.InvalidProgramException class with a specified error messa...
Definition:
InvalidProgramException.cs:33
All cs
System
InvalidProgramException.cs
Generated by
1.8.15