mscorlib(4.0.0.0) API with additions
TargetInvocationException.cs
3 
4 namespace System.Reflection
5 {
8  [ComVisible(true)]
9  [__DynamicallyInvokable]
11  {
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]
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 
44  : base(info, context)
45  {
46  }
47  }
48 }
Definition: __Canon.cs:3
Serves as the base class for application-defined exceptions.
TargetInvocationException(string message, Exception inner)
Initializes a new instance of the T:System.Reflection.TargetInvocationException class with a specifie...
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Provides information about, and means to manipulate, the current environment and platform....
Definition: Environment.cs:21
TargetInvocationException(Exception inner)
Initializes a new instance of the T:System.Reflection.TargetInvocationException class with a referenc...
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition: Exception.cs:22
Specifies that the class can be serialized.
The exception that is thrown by methods invoked through reflection. This class cannot be inherited.