Partager via


HttpActionContext.ControllerContext Property

Gets or sets the controller context.

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

Syntax

'Declaration
Public Property ControllerContext As HttpControllerContext
    Get
    Set
'Usage
Dim instance As HttpActionContext
Dim value As HttpControllerContext

value = instance.ControllerContext

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

Property Value

Type: System.Web.Http.Controllers.HttpControllerContext
The controller context.

See Also

Reference

HttpActionContext Class

System.Web.Http.Controllers Namespace