CodedArgumentException Constructor (String, String, Exception) |
[This is preliminary documentation and is subject to change.]
Initializes a new instance of the
CodedArgumentException class with a specified error message, the parameter name, and a reference to the inner exception that is the cause of this exception.
Namespace:
NerdyDuck.CodedExceptions
Assembly:
NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntaxpublic CodedArgumentException(
string message,
string paramName,
Exception innerException
)
Public Sub New (
message As String,
paramName As String,
innerException As Exception
)
View SourceParameters
- message
- Type: SystemString
The error message that explains the reason for the exception. - paramName
- Type: SystemString
The name of the parameter that caused the current exception. - innerException
- Type: SystemException
The exception that is the cause of the current exception.
RemarksThis constructor initializes the Message property of the new instance using the value of the message parameter. The content of the message parameter is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
This constructor initializes the ParamName property of the new instance using paramName. The content of paramName is intended to be understood by humans.
See Also