This documentation is archived and is not being maintained.

TargetException Constructor

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.
Show: