Share via


ControllerContext.HttpContext Property

 

Gets or sets the HTTP context.

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

Syntax

public virtual HttpContextBase HttpContext { get; set; }
public:
property HttpContextBase^ HttpContext {
    virtual HttpContextBase^ get();
    virtual void set(HttpContextBase^ value);
}
abstract HttpContext : HttpContextBase with get, set
override HttpContext : HttpContextBase with get, set
Public Overridable Property HttpContext As HttpContextBase

Property Value

Type: System.Web.HttpContextBase

The HTTP context.

See Also

ControllerContext Class
System.Web.Mvc Namespace

Return to top