Partager via


HttpActionDescriptor Constructor (HttpControllerDescriptor)

Initializes a new instance of the HttpActionDescriptor class with specified information that describes the controller of the action.

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

Syntax

'Declaration
Protected Sub New ( _
    controllerDescriptor As HttpControllerDescriptor _
)
'Usage
Dim controllerDescriptor As HttpControllerDescriptor

Dim instance As New HttpActionDescriptor(controllerDescriptor)
protected HttpActionDescriptor(
    HttpControllerDescriptor controllerDescriptor
)
protected:
HttpActionDescriptor(
    HttpControllerDescriptor^ controllerDescriptor
)
new : 
        controllerDescriptor:HttpControllerDescriptor -> HttpActionDescriptor
protected function HttpActionDescriptor(
    controllerDescriptor : HttpControllerDescriptor
)

Parameters

See Also

Reference

HttpActionDescriptor Class

HttpActionDescriptor Overload

System.Web.Http.Controllers Namespace