Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

IHttpModule.Init Method

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.