Partager via


ControllerContext.HttpContext Property

Gets or sets the HTTP context.

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

Syntax

'Declaration
Public Overridable Property HttpContext As HttpContextBase
    Get
    Set
public virtual HttpContextBase HttpContext { get; set; }
public:
virtual property HttpContextBase^ HttpContext {
    HttpContextBase^ get ();
    void set (HttpContextBase^ value);
}

Property Value

Type: System.Web.HttpContextBase
The HTTP context.

See Also

Reference

ControllerContext Class

System.Web.Mvc Namespace