Share via


InputValidationException Constructor (String, Severity, Exception)

Initializes a new instance of the InputValidationException class.

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    severity As Severity, _
    innerException As Exception _
)
public InputValidationException(
    string message,
    Severity severity,
    Exception innerException
)
public:
InputValidationException(
    String^ message, 
    Severity severity, 
    Exception^ innerException
)
new : 
        message:string * 
        severity:Severity * 
        innerException:Exception -> InputValidationException
public function InputValidationException(
    message : String, 
    severity : Severity, 
    innerException : Exception
)

Parameters

  • message
    Type: System.String
    A user-defined message that states the error.
  • innerException
    Type: System.Exception
    The exception that is the cause of the current exception.

Remarks

The possible severities are Error, Warning, and Information.

An exception that is thrown as a direct result of a previous exception includes a reference to the previous exception in the InnerException property.

.NET Framework Security

See Also

Reference

InputValidationException Class

InputValidationException Overload

Microsoft.Data.Schema.Tools.DataGenerator Namespace

InputValidationException

Severity

InnerException