IHttpModule Interface

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides module initialization and disposal events to the implementing class.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public interface IHttpModule
public interface class IHttpModule
type IHttpModule = interface end
Public Interface IHttpModule
System_CAPS_pubmethod Dispose

Disposes of the resources (other than memory) used by the module that implements IHttpModule.

System_CAPS_pubmethod Init

Initializes a module and prepares it to handle requests.

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

.NET Framework
Available since 1.1
Return to top