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
controllerContext
Type: System.Web.Http.Controllers.HttpControllerContextThe HttpControllerContext object that is used for the initialization.
See Also
ApiController Class
System.Web.Http Namespace
Return to top