System.Configuration.SettingChangingEventArgs Class

Provides data for the ApplicationSettingsBase.SettingChanging event.

See Also: SettingChangingEventArgs Members


public class SettingChangingEventArgs : System.ComponentModel.CancelEventArgs


The System.Configuration.SettingChangingEventArgs class provides data for the ApplicationSettingsBase.SettingChanging event, which signals that the value of an application settings property is about to change. The most common source for this event is the get accessor of the ApplicationSettingsBase.Item(string) method in the System.Configuration.ApplicationSettingsBase class.

Because System.Configuration.SettingChangingEventArgs is derived from System.ComponentModel.CancelEventArgs, the handler has the option of canceling the write operation.


Namespace: System.Configuration
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0