Documentation for this section has not yet been entered.
The TraceSource.Switch property allows the filtering of messages before the trace source calls the listeners.
The switch is used to check whether trace calls should be generated or ignored. Each trace method calls the SourceSwitch.ShouldTrace(TraceEventType) method of the System.Diagnostics.SourceSwitch to determine whether to proceed with the trace. If the call returns true, the listeners are called.