TargetParameterCountException Constructor (String)

 

Initializes a new instance of the TargetParameterCountException class with its message string set to the given message and the root cause exception.

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

Public Sub New (
	message As String
)

Parameters

message
Type: System.String

A String describing the reason this exception was thrown.

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

Property

Value

InnerException

null

Message

The message 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: