CounterType Property
Gets or sets the performance counter type of the custom counter.
Namespace: System.DiagnosticsAssembly: System in (System.dll)
Syntax
public PerformanceCounterType CounterType { get; set; }
Exceptions
Exception | Condition |
---|---|
InvalidEnumArgumentException | You have specified a type that is not a member of the PerformanceCounterType enumeration. |