HttpControllerContext Constructor (HttpConfiguration, IHttpRouteData, )
Initializes a new instance of the HttpControllerContext class.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
configuration As HttpConfiguration, _
routeData As IHttpRouteData, _
request As HttpRequestMessage _
)
'Usage
Dim configuration As HttpConfiguration
Dim routeData As IHttpRouteData
Dim request As HttpRequestMessage
Dim instance As New HttpControllerContext(configuration, _
routeData, request)
public HttpControllerContext(
HttpConfiguration configuration,
IHttpRouteData routeData,
HttpRequestMessage request
)
public:
HttpControllerContext(
HttpConfiguration^ configuration,
IHttpRouteData^ routeData,
HttpRequestMessage^ request
)
new :
configuration:HttpConfiguration *
routeData:IHttpRouteData *
request:HttpRequestMessage -> HttpControllerContext
public function HttpControllerContext(
configuration : HttpConfiguration,
routeData : IHttpRouteData,
request : HttpRequestMessage
)
Parameters
- configuration
Type: System.Web.Http.HttpConfiguration
The configuration.
- routeData
Type: System.Web.Http.Routing.IHttpRouteData
The route data.
- request
Type: HttpRequestMessage
The request.