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
System_CAPS_pubmethod StopRoutingHandler()

Initializes a new instance of the StopRoutingHandler class.

Methods

Name Description
System_CAPS_pubmethod Dispose()

(Inherited from HttpMessageHandler.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod SendAsync(HttpRequestMessage, CancellationToken)

(Inherited from HttpMessageHandler.)

System_CAPS_pubmethod 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