HttpRoutingDispatcher Constructor (HttpConfiguration, )

HttpRoutingDispatcher Constructor (HttpConfiguration, )

Initializes a new instance of the HttpRoutingDispatcher class, using the provided HttpConfiguration and HttpMessageHandler.

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

public HttpRoutingDispatcher(
	HttpConfiguration configuration,
	HttpMessageHandler defaultHandler
)

Parameters

configuration
Type: System.Web.Http.HttpConfiguration

The server configuration.

defaultHandler
Type: HttpMessageHandler

The default handler to use when the IHttpRoute has no Handler.

Show:
© 2016 Microsoft