Share via


ODataQueryOptions.Validate Method (ODataValidationSettings)

 

Validate all OData queries, including $skip, $top, $orderby and $filter, based on the given validationSettings. It throws an ODataException if validation failed.

Namespace:   System.Web.Http.OData.Query
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public virtual void Validate(
    ODataValidationSettings validationSettings
)
public:
virtual void Validate(
    ODataValidationSettings^ validationSettings
)
abstract Validate : 
        validationSettings:ODataValidationSettings -> unit
override Validate : 
        validationSettings:ODataValidationSettings -> unit
Public Overridable Sub Validate (
    validationSettings As ODataValidationSettings
)

Parameters

See Also

ODataQueryOptions Class
System.Web.Http.OData.Query Namespace

Return to top