Switch.OnSwitchSettingChanged Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Invoked when the SwitchSetting property is changed.

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

protected virtual void OnSwitchSettingChanged()

OnSwitchSettingChanged is invoked the first time a switch reads the SwitchSetting value from the configuration file and is invoked again each time the switch's value is changed.

.NET Framework
Available since 1.1
Return to top