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

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

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

Parameters

inner
[To be supplied.]

Remarks

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

TargetInvocationException 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

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