TargetParameterCountException Constructor (String)
Collapse the table of content
Expand the table of content

TargetParameterCountException Constructor (String)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

'Declaration
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

Nothing

Message

The message string.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft