IHttpModule IHttpModule IHttpModule IHttpModule Interface

定義

為實作類別提供模組初始化和處置事件。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() Dispose() Dispose() Dispose()

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

Init(HttpApplication) Init(HttpApplication) Init(HttpApplication) Init(HttpApplication)

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

適用於