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.
- severity
Type: Microsoft.Data.Schema.Tools.DataGenerator.Severity
A member of the Severity enumeration that indicates the severity of the error that is encountered during validation.
Remarks
The possible severities are Error, Warning, and Information.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
InputValidationException Class
InputValidationException Overload