Partager via


HttpRoute.Handler Property

Gets or sets the http route handler.

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

Syntax

'Declaration
Public Property Handler As HttpMessageHandler 
    Get 
    Private Set
'Usage
Dim instance As HttpRoute 
Dim value As HttpMessageHandler 

value = instance.Handler
public HttpMessageHandler Handler { get; private set; }
public:
virtual property HttpMessageHandler^ Handler {
    HttpMessageHandler^ get () sealed;
    private: void set (HttpMessageHandler^ value) sealed;
}
abstract Handler : HttpMessageHandler with get, private set 
override Handler : HttpMessageHandler with get, private set
final function get Handler () : HttpMessageHandler 
private final function set Handler (value : HttpMessageHandler)

Property Value

Type: HttpMessageHandler
The http route handler.

Implements

IHttpRoute.Handler

See Also

Reference

HttpRoute Class

System.Web.Http.Routing Namespace