HttpMessageHandler Class

A base type for HTTP message handlers.

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpMessageHandler
    System.Net.Http.DelegatingHandler
    System.Net.Http.HttpClientHandler

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

Syntax

'Declaration
Public MustInherit Class HttpMessageHandler _
    Implements IDisposable
'Usage
Dim instance As HttpMessageHandler
public abstract class HttpMessageHandler : IDisposable
public ref class HttpMessageHandler abstract : IDisposable
[<AbstractClassAttribute>]
type HttpMessageHandler =  
    class 
        interface IDisposable 
    end
public abstract class HttpMessageHandler implements IDisposable

The HttpMessageHandler type exposes the following members.

Constructors

  Name Description
Protected method HttpMessageHandler Initializes a new instance of the HttpMessageHandler class.

Top

Methods

  Name Description
Public method Dispose() Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageHandler.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the HttpMessageHandler and optionally disposes of the managed resources.
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
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