ODataQueryValidator.Validate Method (ODataQueryOptions, ODataValidationSettings)
Validates the OData query.
Namespace: System.Web.Http.OData.Query.Validators
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual void Validate(
ODataQueryOptions options,
ODataValidationSettings validationSettings
)
public:
virtual void Validate(
ODataQueryOptions^ options,
ODataValidationSettings^ validationSettings
)
abstract Validate :
options:ODataQueryOptions *
validationSettings:ODataValidationSettings -> unit
override Validate :
options:ODataQueryOptions *
validationSettings:ODataValidationSettings -> unit
Public Overridable Sub Validate (
options As ODataQueryOptions,
validationSettings As ODataValidationSettings
)
Parameters
options
Type: System.Web.Http.OData.Query.ODataQueryOptionsThe OData query to validate.
validationSettings
Type: System.Web.Http.OData.Query.ODataValidationSettingsThe validation settings.
See Also
ODataQueryValidator Class
System.Web.Http.OData.Query.Validators Namespace
Return to top