System.Diagnostics.Tracing Initializes a new instance of the class. The event counter name. The event source. is . -or- is . Writes the metric if performance counters are on. The value to be written. Provides the ability to collect statistics for very frequent events through the class.