StopRoutingHandler Class
Represents a handler that specifies routing should not handle requests for a route template. When a route provides this class as a handler, requests matching against the route will be ignored.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Net.Http.HttpMessageHandler
System.Web.Http.Routing.StopRoutingHandler
Syntax
public sealed class StopRoutingHandler : HttpMessageHandler
public ref class StopRoutingHandler sealed : HttpMessageHandler
[<Sealed>]
type StopRoutingHandler =
class
inherit HttpMessageHandler
end
Public NotInheritable Class StopRoutingHandler
Inherits HttpMessageHandler
Constructors
Name | Description | |
---|---|---|
StopRoutingHandler() | Initializes a new instance of the StopRoutingHandler class. |
Methods
Name | Description | |
---|---|---|
Dispose() | (Inherited from HttpMessageHandler.) |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
SendAsync(HttpRequestMessage, CancellationToken) | (Inherited from HttpMessageHandler.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Http.Routing Namespace
Return to top