ODataQueryOptions.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 all OData queries, including $skip, $top, $orderby and $filter, based on the given validationSettings
.
It throws an ODataException if validation failed.
public virtual void Validate (Microsoft.AspNet.OData.Query.ODataValidationSettings validationSettings);
abstract member Validate : Microsoft.AspNet.OData.Query.ODataValidationSettings -> unit
override this.Validate : Microsoft.AspNet.OData.Query.ODataValidationSettings -> unit
Public Overridable Sub Validate (validationSettings As ODataValidationSettings)
Parameters
- validationSettings
- ODataValidationSettings
The ODataValidationSettings instance which contains all the validation settings.