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

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

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

Parameters

message
A message that provides reasoning for why the exception occured.

Remarks

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

Property Value
InnerException null
Message The message string.

See Also

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