| JsonValidatorContextRaiseError Method (String, Object) |
Raises a validation error.
Namespace:
Newtonsoft.Json.Schema
Assembly:
Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax public void RaiseError(
string message,
Object value
)
Parameters
- message
- Type: SystemString
The message describing the error that occurred. - value
- Type: SystemObject
The JSON value when the error occurred.
See Also