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 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();

Remarks

The InnerException property set to null and the HRESULT error code is set to COR_E_TARGET.

The TargetException is the exception classs that shows when a class or method was not located.

TargetException inherits from the Exception. This constructor sets the properties of the Exception object as follows:

Property Value
InnerException null
Message The empty string.

See Also

TargetException Class | TargetException Members | System.Reflection Namespace | TargetException Constructor Overload List