Partager via


ApiController.RequestContext Property

 

Gets the request context.

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

Syntax

public HttpRequestContext RequestContext { get; set; }
public:
property HttpRequestContext^ RequestContext {
    HttpRequestContext^ get();
    void set(HttpRequestContext^ value);
}
member RequestContext : HttpRequestContext with get, set
Public Property RequestContext As HttpRequestContext

Property Value

Type: System.Web.Http.Controllers.HttpRequestContext

The request context.

See Also

ApiController Class
System.Web.Http Namespace

Return to top