mscorlib(4.0.0.0) API with additions
TargetException.cs
1
using
System
.
Runtime
.
InteropServices
;
2
using
System
.
Runtime
.
Serialization
;
3
4
namespace
System.Reflection
5
{
7
[
Serializable
]
8
[ComVisible(
true
)]
9
public
class
TargetException
:
ApplicationException
10
{
12
public
TargetException
()
13
{
14
SetErrorCode(-2146232829);
15
}
16
19
public
TargetException
(
string
message)
20
: base(message)
21
{
22
SetErrorCode(-2146232829);
23
}
24
28
public
TargetException
(
string
message,
Exception
inner)
29
: base(message, inner)
30
{
31
SetErrorCode(-2146232829);
32
}
33
37
protected
TargetException
(
SerializationInfo
info,
StreamingContext
context)
38
: base(info, context)
39
{
40
}
41
}
42
}
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.TargetException.TargetException
TargetException(string message)
Initializes a new instance of the T:System.Reflection.TargetException class with the given message an...
Definition:
TargetException.cs:19
System.Runtime.Serialization.StreamingContext
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Definition:
StreamingContext.cs:9
System.Reflection.TargetException.TargetException
TargetException(string message, Exception inner)
Initializes a new instance of the T:System.Reflection.TargetException class with a specified error me...
Definition:
TargetException.cs:28
System.Reflection.TargetException
Represents the exception that is thrown when an attempt is made to invoke an invalid target.
Definition:
TargetException.cs:9
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.TargetException.TargetException
TargetException()
Initializes a new instance of the T:System.Reflection.TargetException class with an empty message and...
Definition:
TargetException.cs:12
System.Reflection.TargetException.TargetException
TargetException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.Reflection.TargetException class with the specified serial...
Definition:
TargetException.cs:37
All cs
System.Reflection
TargetException.cs
Generated by
1.8.15