Export (0) Print
Expand All

TargetException Constructor

Initializes a new instance of the TargetException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method TargetException() Initializes a new instance of the TargetException class with an empty message and the root cause of the exception.
Public method TargetException(String) Initializes a new instance of the TargetException class with the given message and the root cause exception.
Protected method TargetException(SerializationInfo, StreamingContext) Initializes a new instance of the TargetException class with the specified serialization and context information.
Public method 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.
Top
Show:
© 2015 Microsoft