Performance Counter Next Value always returns zero (MS Exchange counter)

  • Thread starter Thread starter Bobby
  • Start date Start date
B

Bobby

Hi,

I've got an application that users the PerformanceCounter class to
retrieve perfmon values. Generally this works fine, but it seems the
following counter always returns 0 for the nextvalue:


MSExchange Intelligent Message Filter
% UCE out of Total Messages Scanned
_Total

There is a raw value, and if I manually divide that by the value
returned from the Total Messages Scanned, it shows the same % as in
perfmon. .NET always returns 0 however.

I am aware of an MS bug in article 324548 showing that disk values
return 0, but is this the same problem with just different counters?

Regards

Bobby
 
Back
Top