ArgumentTypeInvalidException Constructor (String, String) |
Initializes a new instance of the
ArgumentTypeInvalidException
class with a specified error message and the name of the parameter
that causes this exception.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax public ArgumentTypeInvalidException(
string message,
string parameterName
)
Public Sub New (
message As String,
parameterName As String
)
public:
ArgumentTypeInvalidException(
String^ message,
String^ parameterName
)
new :
message : string *
parameterName : string -> ArgumentTypeInvalidException
Parameters
- message
- Type: SystemString
The error message that explains the reason for the exception. - parameterName
- Type: SystemString
The name of the parameter that caused the current exception.
See Also