NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TargetInvocationException Constructor

Initializes a new instance of the TargetInvocationException class.

Overload List

Initializes a new TargetInvocationException with an empty message string and the root cause of the exception.

[Visual Basic] Overloads Public Sub New(Exception)
[C#] public TargetInvocationException(Exception);
[C++] public: TargetInvocationException(Exception*);
[JScript] public function TargetInvocationException(Exception);

Initializes an instance of the TargetInvocationException class with the given message and given root cause exception.

[Visual Basic] Overloads Public Sub New(String, Exception)
[C#] public TargetInvocationException(String, Exception);
[C++] public: TargetInvocationException(String*, Exception);
[JScript] public function TargetInvocationException(String, Exception);

See Also

TargetInvocationException Class | TargetInvocationException Members | System.Reflection Namespace