Export (0) Print
Expand All

TargetParameterCountException Class

The exception that is thrown when the number of parameters for an invocation does not match the number expected. This class cannot be inherited.

For a list of all members of this type, see TargetParameterCountException Members.

System.Object
   System.Exception
      System.ApplicationException
         System.Reflection.TargetParameterCountException

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

TargetParameterCountException uses the HRESULT COR_E_TARGETPARAMCOUNT which has the value 0x8002000E.

Requirements

Namespace: System.Reflection

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

TargetParameterCountException Members | System.Reflection Namespace | Exception | Handling and Throwing Exceptions

Show:
© 2014 Microsoft