Export (0) Print
Expand All

HttpRoutingDispatcher Class

This class is the default endpoint message handler which examines the IHttpRoute of the matched route, and chooses which message handler to call. If Handler is null, then it delegates to HttpControllerDispatcher.

System.Object
  HttpMessageHandler
    System.Web.Http.Dispatcher.HttpRoutingDispatcher

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

type HttpRoutingDispatcher =  
    class 
        inherit HttpMessageHandler 
    end

The HttpRoutingDispatcher type exposes the following members.

  NameDescription
Public methodHttpRoutingDispatcher(HttpConfiguration) Initializes a new instance of the HttpRoutingDispatcher class, using the provided HttpConfiguration and HttpControllerDispatcher as the default handler.
Public methodHttpRoutingDispatcher(HttpConfiguration, HttpMessageHandler) Initializes a new instance of the HttpRoutingDispatcher class, using the provided HttpConfiguration and HttpMessageHandler.
Top

  NameDescription
Public methodDispose (Inherited from HttpMessageHandler.)
Protected methodDispose(Boolean) (Inherited from HttpMessageHandler.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSendAsyncSends an HTTP request as an asynchronous operation. (Overrides HttpMessageHandlerSendAsync(HttpRequestMessage, CancellationToken).)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft