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 | |
---|---|---|
DelegatingHandler() | Initializes a new instance of the DelegatingHandler class. | |
DelegatingHandler(HttpMessageHandler) | Initializes a new instance of the DelegatingHandler class with a specific inner handler. |
Top
Properties
Name | Description | |
---|---|---|
InnerHandler | Gets or sets {insert text here}. |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageHandler. (Inherited from HttpMessageHandler.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the DelegatingHandler, and optionally disposes of the managed resources. (Overrides HttpMessageHandler.Dispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SendAsync | (Overrides HttpMessageHandler.SendAsync(HttpRequestMessage, CancellationToken).) | |
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.