IHttpControllerActivator.Create Method

Creates an IHttpController object.

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

'Declaration
Function Create ( _
	request As HttpRequestMessage, _
	controllerDescriptor As HttpControllerDescriptor, _
	controllerType As Type _
) As IHttpController
'Usage
Dim instance As IHttpControllerActivator 
Dim request As HttpRequestMessage 
Dim controllerDescriptor As HttpControllerDescriptor 
Dim controllerType As Type 
Dim returnValue As IHttpController 

returnValue = instance.Create(request, _
	controllerDescriptor, controllerType)

Parameters

request
Type: HttpRequestMessage

The message request.

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

The HTTP controller descriptor.

controllerType
Type: System.Type

The type of the controller.

Show: