FilterQueryValidator.Validate Method (FilterQueryOption, ODataValidationSettings)
Validates a FilterQueryOption.
Namespace: System.Web.Http.OData.Query.Validators
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual void Validate(
FilterQueryOption filterQueryOption,
ODataValidationSettings settings
)
public:
virtual void Validate(
FilterQueryOption^ filterQueryOption,
ODataValidationSettings^ settings
)
abstract Validate :
filterQueryOption:FilterQueryOption *
settings:ODataValidationSettings -> unit
override Validate :
filterQueryOption:FilterQueryOption *
settings:ODataValidationSettings -> unit
Public Overridable Sub Validate (
filterQueryOption As FilterQueryOption,
settings As ODataValidationSettings
)
Parameters
filterQueryOption
Type: System.Web.Http.OData.Query.FilterQueryOptionThe $filter query.
settings
Type: System.Web.Http.OData.Query.ODataValidationSettingsThe validation settings.
Remarks
Please note this method is not thread safe.
See Also
FilterQueryValidator Class
System.Web.Http.OData.Query.Validators Namespace
Return to top