Share via


HttpRequestMessageProperties Class

 

Provides properties for use with the ODataProperties extension method.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Extensions.HttpRequestMessageProperties

Syntax

public class HttpRequestMessageProperties
public ref class HttpRequestMessageProperties 
type HttpRequestMessageProperties = class end
Public Class HttpRequestMessageProperties

Properties

Name Description
System_CAPS_pubproperty Model

Gets or sets the EDM model associated with the request.

System_CAPS_pubproperty NextLink

Gets or sets the next link for the OData response. Getter returns null if no next link should be sent back to the client.

System_CAPS_pubproperty Path

Gets or sets the OData path of the request.

System_CAPS_pubproperty PathHandler

Gets or sets the IODataPathHandler for generating links. Getter creates a default IODataPathHandler if value is currently null.

System_CAPS_pubproperty RouteName

Gets or sets the route name for generating OData links.

System_CAPS_pubproperty RoutingConventions

Gets or sets the OData routing conventions for controller and action selection.

System_CAPS_pubproperty RoutingConventionsStore

Gets the data store used by IODataRoutingConventions to store any custom route data. Getter creates a new IDictionary<string, object> the first time it is called.

System_CAPS_pubproperty SelectExpandClause

Gets or sets the parsed OData SelectExpandClause of the request. The ODataMediaTypeFormatter will use this information (if any) while writing the response for this request.

System_CAPS_pubproperty TotalCount

Gets or sets the total count for the OData response. Getter returns null if no count should be sent back to the client.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.OData.Extensions Namespace

Return to top