System.Web.Profile.ProfileEventHandler Delegate

Represents the method that will handle the ProfileModule.Personalize event of a System.Web.Profile.ProfileModule.

Syntax

public delegate void ProfileEventHandler (object sender, ProfileEventArgs e)

Parameters

sender
Documentation for this section has not yet been entered.
e
Documentation for this section has not yet been entered.

Remarks

The System.Web.Profile.ProfileEventHandler delegate is defined for the ProfileModule.Personalize event of the System.Web.Profile.ProfileModule class. You can access the ProfileModule.Personalize event of the System.Web.Profile.ProfileModule class in the Global.asax file for your ASP.NET application using the Profile_Personalize global event, as shown in the example for this topic.

You can use the ProfileModule.Personalize event to specify a custom user profile. If the ProfileEventArgs.Profile property of the System.Web.Profile.ProfileEventArgs parameter specified for the ProfileModule.Personalize event's System.Web.Profile.ProfileEventHandler is set to a non-null value when the ProfileModule.Personalize event completes, then the System.Web.Profile.ProfileModule will use that value for the System.Web.HttpContext.Profile property of the current System.Web.HttpContext.

Requirements

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