Remove(CounterCreationData) Method
Removes a CounterCreationData from the collection.
Namespace: System.DiagnosticsAssembly: System in (System.dll)
Syntax
public void Remove( CounterCreationData value )
Parameters
- value
-
Type: CounterCreationDataThe CounterCreationData to remove from the collection.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | value is not a CounterCreationData object.-or-value does not exist in the collection. |
System.ArgumentNullException | value is null. |