'Declaration Public Function New( _ ByVal message As String, _ ByVal innerException As Exception _ )
'Usage Dim message As String Dim innerException As Exception Dim instance As New InvalidValueException(message, innerException)
public InvalidValueException( string message, Exception innerException )
Parameters
- message
The error message that explains the reason for the exception.
- innerException
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception has been specified.