System.Diagnostics.Switch.OnSwitchSettingChanged Method

Invoked when the Switch.SwitchSetting property is changed.

Syntax

protected virtual void OnSwitchSettingChanged ()

Remarks

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

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0