Freigeben über


ODataQueryOptions Constructor (ODataQueryContext, HttpRequestMessage)

 

Initializes a new instance of the ODataQueryOptions class based on the incoming request and some metadata information from the ODataQueryContext.

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

Syntax

public ODataQueryOptions(
    ODataQueryContext context,
    HttpRequestMessage request
)
public:
ODataQueryOptions(
    ODataQueryContext^ context,
    HttpRequestMessage^ request
)
new : 
        context:ODataQueryContext *
        request:HttpRequestMessage -> ODataQueryOptions
Public Sub New (
    context As ODataQueryContext,
    request As HttpRequestMessage
)

Parameters

See Also

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

Return to top