ConvertException

ConvertException(string)

Initializes a new instance of the ConvertException class.

public ConvertException(string message)
ParameterTypeDescription
messageStringThe message.

See Also


ConvertException(string, Exception)

Initializes a new instance of the ConvertException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public ConvertException(string message, Exception innerException)
ParameterTypeDescription
messageStringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

See Also