System.Configuration.SettingChangingEventArgs Class

Provides data for the ApplicationSettingsBase.SettingChanging event.

See Also: SettingChangingEventArgs Members

Syntax

public class SettingChangingEventArgs : System.ComponentModel.CancelEventArgs

Remarks

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.

Requirements

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