Share via


HttpControllerContext Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod HttpControllerContext()

Initializes a new instance of the HttpControllerContext class.

System_CAPS_pubmethod HttpControllerContext(HttpConfiguration, IHttpRouteData, HttpRequestMessage)

Initializes a new instance of the HttpControllerContext class.

System_CAPS_pubmethod HttpControllerContext(HttpRequestContext, HttpRequestMessage, HttpControllerDescriptor, IHttpController)

Initializes a new instance of the HttpControllerContext class.

See Also

HttpControllerContext Class
System.Web.Http.Controllers Namespace

Return to top

HttpControllerContext Constructor ()

Initializes a new instance of the HttpControllerContext class.

Syntax

public HttpControllerContext()
public:
HttpControllerContext()
new : unit -> HttpControllerContext
Public Sub New

Return to top

HttpControllerContext Constructor (HttpConfiguration, IHttpRouteData, HttpRequestMessage)

Initializes a new instance of the HttpControllerContext class.

Syntax

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 Sub New (
    configuration As HttpConfiguration,
    routeData As IHttpRouteData,
    request As HttpRequestMessage
)

Parameters

Return to top

HttpControllerContext Constructor (HttpRequestContext, HttpRequestMessage, HttpControllerDescriptor, IHttpController)

Initializes a new instance of the HttpControllerContext class.

Syntax

public HttpControllerContext(
    HttpRequestContext requestContext,
    HttpRequestMessage request,
    HttpControllerDescriptor controllerDescriptor,
    IHttpController controller
)
public:
HttpControllerContext(
    HttpRequestContext^ requestContext,
    HttpRequestMessage^ request,
    HttpControllerDescriptor^ controllerDescriptor,
    IHttpController^ controller
)
new : 
        requestContext:HttpRequestContext *
        request:HttpRequestMessage *
        controllerDescriptor:HttpControllerDescriptor *
        controller:IHttpController -> HttpControllerContext
Public Sub New (
    requestContext As HttpRequestContext,
    request As HttpRequestMessage,
    controllerDescriptor As HttpControllerDescriptor,
    controller As IHttpController
)

Parameters

Return to top