DelegatingHandler Class

A base type for HTTP handlers that delegate the processing of HTTP response messages to another handler, called the inner handler.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public abstract class DelegatingHandler extends HttpMessageHandler

The DelegatingHandler type exposes the following members.

  NameDescription
Protected methodDelegatingHandler()Initializes a new instance of the DelegatingHandler class.
Protected methodDelegatingHandler(HttpMessageHandler)Initializes a new instance of the DelegatingHandler class with a specific inner handler.
Top

  NameDescription
Public propertyInnerHandlerGets or sets {insert text here}.
Top

  NameDescription
Public methodDispose()Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageHandler. (Inherited from HttpMessageHandler.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the DelegatingHandler, and optionally disposes of the managed resources. (Overrides HttpMessageHandler.Dispose(Boolean).)
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 methodSendAsync (Overrides HttpMessageHandler.SendAsync(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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft