HttpControllerContext Constructor

 

HttpControllerContext Constructor ()

Initializes a new instance of the HttpControllerContext class.

public HttpControllerContext()
Return to top

HttpControllerContext Constructor (HttpConfiguration, IHttpRouteData, HttpRequestMessage)

Initializes a new instance of the HttpControllerContext class.

public HttpControllerContext(
	HttpConfiguration configuration,
	IHttpRouteData routeData,
	HttpRequestMessage request
)

Parameters

configuration
Type: System.Web.Http.HttpConfiguration

The configuration.

routeData
Type: System.Web.Http.Routing.IHttpRouteData

The route data.

request
Type: System.Net.Http.HttpRequestMessage

The request.

Return to top

HttpControllerContext Constructor (HttpRequestContext, HttpRequestMessage, HttpControllerDescriptor, IHttpController)

Initializes a new instance of the HttpControllerContext class.

public HttpControllerContext(
	HttpRequestContext requestContext,
	HttpRequestMessage request,
	HttpControllerDescriptor controllerDescriptor,
	IHttpController controller
)

Parameters

requestContext
Type: System.Web.Http.Controllers.HttpRequestContext

The request context.

request
Type: System.Net.Http.HttpRequestMessage

The HTTP request.

controllerDescriptor
Type: System.Web.Http.Controllers.HttpControllerDescriptor

The controller descriptor.

controller
Type: System.Web.Http.Controllers.IHttpController

The controller.

Return to top
Show: