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!

TargetException Constructor

Initializes an instance of the TargetException class.

Overload List

Initializes an instance of the TargetException class with an empty message and the root cause of the exception.

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

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

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

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

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

See Also

TargetException Class | TargetException Members | System.Reflection Namespace