System.Web.Profile.ProfileModule.Init Method

Calls initialization code when a System.Web.Profile.ProfileModule object is created.

Syntax

public void Init (System.Web.HttpApplication app)

Parameters

app
The current application.

Remarks

This method is not intended to be called from application code.

An System.Web.HttpApplication is created when an ASP.NET application is started. The System.Web.HttpApplication calls the ProfileModule.Init(System.Web.HttpApplication) method when it creates the System.Web.Profile.ProfileModule for the application. The System.Web.Profile.ProfileModule is specified in the configuration for an application.

Requirements

Namespace: System.Web.Profile
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0