SettingChangingEventHandler Delegate


Represents the method that will handle the SettingChanging event.

Namespace:   System.Configuration
Assembly:  System (in System.dll)

public delegate void SettingChangingEventHandler(
	object sender,
	SettingChangingEventArgs e


Type: System.Object

The source of the event, typically an application settings wrapper class derived from the ApplicationSettingsBase class.

Type: System.Configuration.SettingChangingEventArgs

A SettingChangingEventArgs containing the data for the event.

The SettingChanging event occurs before the value of an application settings property is changed, typically through a call to the Item method. SettingChanging can be canceled through the SettingChangingEventArgs event data class.

.NET Framework
Available since 2.0
Return to top