This documentation is archived and is not being maintained.
IHttpModule.Init Method
.NET Framework 1.1
Initializes a module and prepares it to handle requests.
[Visual Basic] Sub Init( _ ByVal context As HttpApplication _ ) [C#] void Init( HttpApplication context ); [C++] void Init( HttpApplication* context ); [JScript] function Init( context : HttpApplication );
Parameters
- context
- An HttpApplication that provides access to the methods, properties, and events common to all application objects within an ASP.NET application
Remarks
Use Init to register event handling methods with specific events.
Example
An example of a custom module that implements IHttpModule is provided in Custom HttpModule Example.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
IHttpModule Interface | IHttpModule Members | System.Web Namespace
Show: