Invoked when the switch_setting property is changed.
Reimplemented in xtd::diagnostics::trace_switch.