mscorlib(4.0.0.0) API with additions
TargetInvocationException.cs
1
using
System
.
Runtime
.
InteropServices
;
2
using
System
.
Runtime
.
Serialization
;
3
4
namespace
System.Reflection
5
{
7
[
Serializable
]
8
[ComVisible(
true
)]
9
[__DynamicallyInvokable]
10
public
sealed
class
TargetInvocationException
:
ApplicationException
11
{
12
private
TargetInvocationException
()
13
: base(
Environment
.GetResourceString(
"Arg_TargetInvocationException"
))
14
{
15
SetErrorCode(-2146232828);
16
}
17
18
private
TargetInvocationException
(
string
message)
19
: base(message)
20
{
21
SetErrorCode(-2146232828);
22
}
23
26
[__DynamicallyInvokable]
27
public
TargetInvocationException
(
Exception
inner)
28
: base(
Environment
.GetResourceString(
"Arg_TargetInvocationException"
), inner)
29
{
30
SetErrorCode(-2146232828);
31
}
32
36
[__DynamicallyInvokable]
37
public
TargetInvocationException
(
string
message,
Exception
inner)
38
: base(message, inner)
39
{
40
SetErrorCode(-2146232828);
41
}
42
43
internal
TargetInvocationException
(
SerializationInfo
info,
StreamingContext
context)
44
: base(info, context)
45
{
46
}
47
}
48
}
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.ApplicationException
Serves as the base class for application-defined exceptions.
Definition:
ApplicationException.cs:9
System.Reflection.TargetInvocationException.TargetInvocationException
TargetInvocationException(string message, Exception inner)
Initializes a new instance of the T:System.Reflection.TargetInvocationException class with a specifie...
Definition:
TargetInvocationException.cs:37
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.Reflection.TargetInvocationException.TargetInvocationException
TargetInvocationException(Exception inner)
Initializes a new instance of the T:System.Reflection.TargetInvocationException class with a referenc...
Definition:
TargetInvocationException.cs:27
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.Reflection
Definition:
__Filters.cs:1
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.Reflection.TargetInvocationException
The exception that is thrown by methods invoked through reflection. This class cannot be inherited.
Definition:
TargetInvocationException.cs:10
All cs
System.Reflection
TargetInvocationException.cs
Generated by
1.8.15