Share via


InputValidationException Constructor (String, Severity)

Initializes a new instance of the InputValidationException class by using the provided message and severity.

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 _
)
public InputValidationException(
    string message,
    Severity severity
)
public:
InputValidationException(
    String^ message, 
    Severity severity
)
new : 
        message:string * 
        severity:Severity -> InputValidationException
public function InputValidationException(
    message : String, 
    severity : Severity
)

Parameters

  • message
    Type: System.String
    A user-defined message that states the error.

Remarks

The possible severities are Error, Warning, and Information.

.NET Framework Security

See Also

Reference

InputValidationException Class

InputValidationException Overload

Microsoft.Data.Schema.Tools.DataGenerator Namespace

InputValidationException

Severity