Udostępnij za pośrednictwem


ApiController.ControllerContext Property

 

Gets the HttpConfiguration of the current ApiController.

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

Syntax

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

Property Value

Type: System.Web.Http.Controllers.HttpControllerContext

The HttpConfiguration of the current ApiController.

See Also

ApiController Class
System.Web.Http Namespace

Return to top