Share via


TopQueryOption.Validate(ODataValidationSettings) Method

Definition

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.

Applies to