.NET Framework Class Library
IHttpModule Interface

Provides module initialization and disposal events to the implementing class.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)
Syntax
Public Interface IHttpModule
public interface IHttpModule
public interface class IHttpModule
type IHttpModule =  interface end
public interface IHttpModule

The IHttpModule type exposes the following members.

Methods
  NameDescription
Public method DisposeDisposes of the resources (other than memory) used by the module that implements IHttpModule.
Public method InitInitializes a module and prepares it to handle requests.
Top
Examples

For an example of a custom module that implements IHttpModule, see Walkthrough: Creating and Registering a Custom HTTP Module.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1