System.Reflection.TargetParameterCountException Class
Represents the error that occurs when the number of parameters passed in the invocation of a member does not match the number of parameters required by the contract of that member.

See Also: TargetParameterCountException Members

Syntax

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

Remarks

This exception is thrown by types in the Reflection Library, when attempting to dynamically invoke members.

Thread Safety

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

Requirements

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