Invoked when the switch_setting property is changed.
Reimplemented from xtd::diagnostics::switch_base.