O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

TargetParameterCountException

Synopsis

This exception is thrown when a method is invoked with an incorrect number of parameters. Note that this can only come when invoking methods via reflection, since the compiler detects any normal parameter count errors.

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

Hierarchy

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required