TargetException Constructor
.NET Framework 2.0
Initializes a new instance of the TargetException class.
| Name | Description |
|---|---|
| TargetException () | Initializes a new instance of the TargetException class with an empty message and the root cause of the exception. |
| TargetException (String) | Initializes a new instance of the TargetException class with the given message and the root cause exception. |
| TargetException (SerializationInfo, StreamingContext) | Initializes a new instance of the TargetException class with the specified serialization and context information. |
| TargetException (String, Exception) | Initializes a new instance of the TargetException class with a specified error message and a reference to the inner exception that is the cause of this exception. |