| SchemaValidationValidateResponse Method |
Validate a response according to a schema.
Namespace: Qlik.Sense.ClientAssembly: Qlik.Sense.Client (in Qlik.Sense.Client.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntaxpublic static void ValidateResponse(
JsonSchema theSchema,
Response response,
string property
)
Public Shared Sub ValidateResponse (
theSchema As JsonSchema,
response As Response,
property As String
)
Parameters
- theSchema
- Type: JsonSchema
The schema defining a correct response. - response
- Type: Qlik.Engine.Communication.IOResponse
The response object. - property
- Type: SystemString
The property of the response result to validate.
Exceptions| Exception | Condition |
|---|
| Exception | Thrown when schema validation fails. |
See Also