TargetParameterCountException Constructor ()

 

Initializes a new instance of the TargetParameterCountException class with an empty message string and the root cause of the exception.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public TargetParameterCountException()

TargetParameterCountException inherits from Exception. This constructor sets the properties of the Exception object as shown in the following table.

Property

Value

InnerException

null

Message

The empty string ("").

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: