This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.