Mono Class Library: System.Reflection Namespace

System.Reflection.TargetException Class

Represents the error that occurs when an attempt is made to invoke a member on an invalid target. [Edit]

See Also: TargetException Members

System.Object
     System.Exception
          System.ApplicationException
               System.Reflection.TargetException

[System.Runtime.InteropServices.ComVisible(true)]
public class TargetException : ApplicationException

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Note: A System.Reflection.TargetException is thrown when an attempt is made to invoke a non-static method using a null object. This exception can also be thrown if the target does not implement the member.
[Edit]

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0