HttpActionContext Constructor
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Overload List
Name | Description | |
---|---|---|
HttpActionContext() | Initializes a new instance of the HttpActionContext class. |
|
HttpActionContext(HttpControllerContext, HttpActionDescriptor) | Initializes a new instance of the HttpActionContext class. |
See Also
HttpActionContext Class
System.Web.Http.Controllers Namespace
Return to top
HttpActionContext Constructor ()
Initializes a new instance of the HttpActionContext class.
Syntax
public HttpActionContext()
public:
HttpActionContext()
new : unit -> HttpActionContext
Public Sub New
Return to top
HttpActionContext Constructor (HttpControllerContext, HttpActionDescriptor)
Initializes a new instance of the HttpActionContext class.
Syntax
public HttpActionContext(
HttpControllerContext controllerContext,
HttpActionDescriptor actionDescriptor
)
public:
HttpActionContext(
HttpControllerContext^ controllerContext,
HttpActionDescriptor^ actionDescriptor
)
new :
controllerContext:HttpControllerContext *
actionDescriptor:HttpActionDescriptor -> HttpActionContext
Public Sub New (
controllerContext As HttpControllerContext,
actionDescriptor As HttpActionDescriptor
)
Parameters
controllerContext
Type: System.Web.Http.Controllers.HttpControllerContextThe controller context.
actionDescriptor
Type: System.Web.Http.Controllers.HttpActionDescriptorThe action descriptor.
Return to top