System.Web 2.0.0.0 System.Delegate `` `` System.Void To be added. To be added.

The delegate is defined for the event of the class. You can access the event of the class in the Global.asax file for your ASP.NET application as shown in the example for this topic.

You can use the event to copy profile property values from an anonymous profile to an authenticated profile when someone who has been anonymously using your application logs in.

When an application that has the user profile enabled is started, ASP.NET creates a new class of type ProfileCommon, which inherits from the class. When the ProfileCommon class is generated, based on the profile properties specified in the Web.config file, a GetProfile method is added that enables you to retrieve a ProfileCommon object based on a user name. You can use the GetProfile method of the current profile to retrieve the property values of the anonymous profile. The anonymous property values can then be copied to the current profile for the authenticated user.

Represents the method that will handle the event of the class.