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. The event is raised at the end of page execution if the property is true.

The method automatically determines whether properties that are made up of primitive types, strings, or objects have been changed, by checking the property value for each in the user profile. However, the method cannot explicitly determine whether a custom class has changed. You can handle the event to determine whether a custom object has been modified and to continue with the automatic save for modified objects and cancel the automatic save if no objects have been modified.

To cancel the automatic profile save operation, set the property to false in the event; otherwise, set the property to true.

There may be multiple subscribers to the event. The will use the last value that the property is set to. As a result, it is recommended that you explicitly set the property in the event, regardless of whether you are canceling or continuing with the automatic save, as you may need to overwrite the value set by an earlier subscriber.

Represents the method that will handle the event of a .