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.
- 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.
- 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
- 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