IHttpHandlerFactory 介面

定義

定義 Class Factory 所必須實作的合約,以建立新的 IHttpHandler 物件。

public interface class IHttpHandlerFactory
public interface IHttpHandlerFactory
type IHttpHandlerFactory = interface
Public Interface IHttpHandlerFactory
衍生

備註

實作 介面的 IHttpHandlerFactory 類別沒有行為,除了動態製造實 IHttpHandler 作介面之類別的新實例之外。

方法

GetHandler(HttpContext, String, String, String)

傳回類別的執行個體,此類別可實作 IHttpHandler 介面。

ReleaseHandler(IHttpHandler)

允許 Factory 重複使用現有的處理常式執行個體。

適用於