MetricCollector<T>.Clear Method

Definition

Removes all accumulated measurements from the collector.

C#
public void Clear();

Applies to

Product Versions
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)