Freigeben über


DelegatingHandler Class

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

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpMessageHandler
    System.Net.Http.DelegatingHandler
      System.Net.Http.MessageProcessingHandler

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

Syntax

'Declaration
Public MustInherit Class DelegatingHandler _
    Inherits HttpMessageHandler
'Usage
Dim instance As DelegatingHandler
public abstract class DelegatingHandler : HttpMessageHandler
public ref class DelegatingHandler abstract : public HttpMessageHandler
[<AbstractClassAttribute>]
type DelegatingHandler =  
    class 
        inherit HttpMessageHandler 
    end
public abstract class DelegatingHandler extends HttpMessageHandler

The DelegatingHandler type exposes the following members.

Constructors

  Name Description
Protected method DelegatingHandler() Initializes a new instance of the DelegatingHandler class.
Protected method DelegatingHandler(HttpMessageHandler) Initializes a new instance of the DelegatingHandler class with a specific inner handler.

Top

Properties

  Name Description
Public property InnerHandler Gets or sets {insert text here}.

Top

Methods

  Name Description
Public method Dispose() Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageHandler. (Inherited from HttpMessageHandler.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the DelegatingHandler, and optionally disposes of the managed resources. (Overrides HttpMessageHandler.Dispose(Boolean).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SendAsync (Overrides HttpMessageHandler.SendAsync(HttpRequestMessage, CancellationToken).)
Public method ToString (Inherited from Object.)

Top

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

Reference

System.Net.Http Namespace