Click or drag to resize
Json.NET Schema

JSchemaValidationException Constructor (String, Exception, ValidationError)

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

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public JSchemaValidationException(
	string message,
	Exception innerException,
	ValidationError validationError
)

Parameters

message
Type: SystemString
The error message that explains the reason for the exception.
innerException
Type: SystemException
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
validationError
Type: Newtonsoft.Json.SchemaValidationError
The ValidationError for ths exception.
See Also