Partager via


ApiController.Initialize Method (HttpControllerContext)

 

Initializes the ApiController instance with the specified controllerContext.

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

Syntax

protected virtual void Initialize(
    HttpControllerContext controllerContext
)
protected:
virtual void Initialize(
    HttpControllerContext^ controllerContext
)
abstract Initialize : 
        controllerContext:HttpControllerContext -> unit
override Initialize : 
        controllerContext:HttpControllerContext -> unit
Protected Overridable Sub Initialize (
    controllerContext As HttpControllerContext
)

Parameters

See Also

ApiController Class
System.Web.Http Namespace

Return to top