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 Class

Represents the exception thrown when a method invoked through reflection throws an exception.

Object
   Exception
      ApplicationException
         TargetInvocationException

[Visual Basic]
NotInheritable Public Class TargetInvocationException
   Inherits ApplicationException
[C#]
public sealed class TargetInvocationException :
   ApplicationException
[C++]
public __gc __sealed class TargetInvocationException : public
   ApplicationException
[JScript]
public class TargetInvocationException extends ApplicationException

Remarks

When created, the TargetInvocationException is passed a reference to the exception thrown by the method invoked through reflection. The InnerException property holds the underlying exception.

Requirements

Namespace: System.Reflection

Assembly: mscorlib.dll

See Also

TargetInvocationException Members | System.Reflection Namespace