System.Web 2.0.0.0 System.EventArgs

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. The method cannot explicitly determine whether a custom class has changed. You can use the event to determine whether a custom object has been modified and then either continue with the automatic save if the object has been modified or cancel the automatic save if the object has not 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.

Provides data for the event of the class.

- Constructor

  The creates an instance of the class and sets the property to the specified .

  Creates an instance of the class.

  The of the current request.
  2.0.0.0
- Property
  System.Web.HttpContext To be added.

  The object provides event information to the event of the class. The property provides access to the of the current request.

  Gets the for the current request.

  2.0.0.0
- Property
  System.Boolean To be added.

  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. The method cannot explicitly determine whether a custom class has changed. You can use the event to determine whether a custom object has been modified and then either continue with the automatic save if the object has been modified or cancel the automatic save if the object has not 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 whether you are canceling or continuing with the automatic save, as you may need to overwrite the value set by an earlier subscriber.

  Gets or sets a value indicating whether the will automatically save the user profile.

  2.0.0.0