Επεξεργασία

Κοινή χρήση μέσω


ProfileModule.Init(HttpApplication) Method

Definition

Calls initialization code when a ProfileModule object is created.

public:
 virtual void Init(System::Web::HttpApplication ^ app);
public void Init (System.Web.HttpApplication app);
abstract member Init : System.Web.HttpApplication -> unit
override this.Init : System.Web.HttpApplication -> unit
Public Sub Init (app As HttpApplication)

Parameters

app
HttpApplication

The current application.

Implements

Remarks

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

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

Applies to

See also