<PackageReference Include="System.Configuration.ConfigurationManager" Version="9.0.1" />

SettingChangingEventArgs

Provides data for the SettingChanging event.
public object NewValue { get; }

Gets the new value being assigned to the application settings property.

public string SettingClass { get; }

Gets the application settings property category.

public string SettingKey { get; }

Gets the application settings key associated with the property.

public string SettingName { get; }

Gets the name of the application setting associated with the application settings property.

public SettingChangingEventArgs(string settingName, string settingClass, string settingKey, object newValue, bool cancel)

Initializes an instance of the SettingChangingEventArgs class.