Share via


ApiController.Initialize Method

Initializes the ApiController instance with the specified controllerContext.

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

Syntax

'Declaration
Protected Overridable Sub Initialize ( _
    controllerContext As HttpControllerContext _
)
'Usage
Dim controllerContext As HttpControllerContext

Me.Initialize(controllerContext)
protected virtual void Initialize(
    HttpControllerContext controllerContext
)
protected:
virtual void Initialize(
    HttpControllerContext^ controllerContext
)
abstract Initialize : 
        controllerContext:HttpControllerContext -> unit 
override Initialize : 
        controllerContext:HttpControllerContext -> unit 
protected function Initialize(
    controllerContext : HttpControllerContext
)

Parameters

See Also

Reference

ApiController Class

System.Web.Http Namespace