共用方式為


MessageProcessingHandler Class

A base type for handlers which only do some small processing of request and/or response messages.

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 MessageProcessingHandler _
    Inherits DelegatingHandler
'Usage
Dim instance As MessageProcessingHandler
public abstract class MessageProcessingHandler : DelegatingHandler
public ref class MessageProcessingHandler abstract : public DelegatingHandler
[<AbstractClassAttribute>]
type MessageProcessingHandler =  
    class 
        inherit DelegatingHandler 
    end
public abstract class MessageProcessingHandler extends DelegatingHandler

The MessageProcessingHandler type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property InnerHandler Gets or sets {insert text here}. (Inherited from DelegatingHandler.)

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. (Inherited from DelegatingHandler.)
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 ProcessRequest
Protected method ProcessResponse
Protected method SendAsync (Overrides DelegatingHandler.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