Name

TargetInvocationException

Synopsis

This exception is thrown by methods invoked via Reflection when they raise exceptions. Check InnerException to view the actual exception raised.

public sealed class TargetInvocationException : ApplicationException {
// Public Constructors
   public method TargetInvocationException(Exception inner);  
   public method TargetInvocationException(string message, 
        Exception inner);  
}

Hierarchy

System.ObjectSystem.Exception(System.Runtime.Serialization.ISerializable)System.ApplicationExceptionTargetInvocationException

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.