IHttpRoute.Handler Property

Gets the message handler that will be the recipient of the request.

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

Syntax

'Declaration
ReadOnly Property Handler As HttpMessageHandler 
    Get
'Usage
Dim instance As IHttpRoute 
Dim value As HttpMessageHandler 

value = instance.Handler
HttpMessageHandler Handler { get; }
property HttpMessageHandler^ Handler {
    HttpMessageHandler^ get ();
}
abstract Handler : HttpMessageHandler
function get Handler () : HttpMessageHandler

Property Value

Type: HttpMessageHandler
The message handler.

Remarks

If null, the default handler dispatches messages to implementations of IHttpController.

See Also

Reference

IHttpRoute Interface

System.Web.Http.Routing Namespace