TopQueryOption.Validate(ODataValidationSettings) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validate the top query based on the given validationSettings
. It throws an ODataException if validation failed.
public void Validate (Microsoft.AspNet.OData.Query.ODataValidationSettings validationSettings);
member this.Validate : Microsoft.AspNet.OData.Query.ODataValidationSettings -> unit
Public Sub Validate (validationSettings As ODataValidationSettings)
Parameters
- validationSettings
- ODataValidationSettings
The ODataValidationSettings instance which contains all the validation settings.