Share via


ODataSerializerContext.RequestContext Property

Gets or sets the request context.

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

Syntax

'Declaration
Public Property RequestContext As HttpRequestContext 
    Get 
    Set
'Usage
Dim instance As ODataSerializerContext 
Dim value As HttpRequestContext 

value = instance.RequestContext

instance.RequestContext = value
public HttpRequestContext RequestContext { get; set; }
public:
property HttpRequestContext^ RequestContext {
    HttpRequestContext^ get ();
    void set (HttpRequestContext^ value);
}
member RequestContext : HttpRequestContext with get, set
function get RequestContext () : HttpRequestContext 
function set RequestContext (value : HttpRequestContext)

Property Value

Type: System.Web.Http.Controllers.HttpRequestContext
The request context.

See Also

Reference

ODataSerializerContext Class

System.Web.Http.OData.Formatter.Serialization Namespace