PerformanceMonitorBaseFindCounter(String) Method

Returns a PerformanceCounter object matching the specified counter name.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
public PerformanceCounter? FindCounter(
	string counterName
)

Parameters

counterName  String
Name of the PerformanceCounter to be retrieved.

Return Value

PerformanceCounter
A PerformanceCounter object if a match is found; otherwise null.

Remarks

First PerformanceCounter with matching name is returned. If same name exists within multiple monitored categories, use FindCounter(String, String) overload instead.

See Also