Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.

  NameDescription
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

Community Additions

ADD
Show:
© 2015 Microsoft