IHttpModule 介面

定義

為實作類別提供模組初始化和處置事件。Provides module initialization and disposal events to the implementing class.

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

範例

如需可執行檔自訂模組範例 IHttpModule ,請參閱逐步解說:建立及註冊自訂 HTTP 模組For an example of a custom module that implements IHttpModule, see Walkthrough: Creating and Registering a Custom HTTP Module.

方法

Dispose()

處置實作 IHttpModule 之模組所使用的資源 (除了記憶體以外)。Disposes of the resources (other than memory) used by the module that implements IHttpModule.

Init(HttpApplication)

初始化模組,並準備該模組以處理要求。Initializes a module and prepares it to handle requests.

適用於