HttpMessageHandlerFactory 類別

定義

表示 Factory 的 http 訊息處理常式。Represents http message handlers for a factory.

public ref class HttpMessageHandlerFactory
public class HttpMessageHandlerFactory
type HttpMessageHandlerFactory = class
Public Class HttpMessageHandlerFactory
繼承
HttpMessageHandlerFactory

建構函式

HttpMessageHandlerFactory()

初始化 HttpMessageHandlerFactory 類別的新執行個體。Initializes a new instance of the HttpMessageHandlerFactory class.

HttpMessageHandlerFactory(Func<IEnumerable<DelegatingHandler>>)

初始化 HttpMessageHandlerFactory 類別的新執行個體。Initializes a new instance of the HttpMessageHandlerFactory class.

HttpMessageHandlerFactory(Type[])

使用指定的處理常式,初始化 HttpMessageHandlerFactory 類別的新執行個體。Initializes a new instance of the HttpMessageHandlerFactory class with specified handler.

方法

Create(HttpMessageHandler)

建立新的 HTTP 訊息處理常式。Creates a new HTTP message handler.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnCreate(HttpMessageHandler)

建立新 HTTP 訊息時引發事件。Raises an event when a new HTTP message is created.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於