Click or drag to resize
CMSPerformanceCounter Class
Performance counter.
Inheritance Hierarchy
SystemObject
  CMS.HealthMonitoringCMSPerformanceCounter

Namespace: CMS.HealthMonitoring
Assembly: CMS.HealthMonitoring (in CMS.HealthMonitoring.dll) Version: 8.2.23
Syntax
C#
public class CMSPerformanceCounter : IPerformanceCounter

The CMSPerformanceCounter type exposes the following members.

Constructors
  NameDescription
Public methodCMSPerformanceCounter
Top
Methods
  NameDescription
Public methodClear
Clears global and sites counters.
Public methodClearLastLog
Clears last log date time.
Public methodDecrement
Decrements global and site counter. If the parameter siteName is null, decrements only global counter.
Public methodGetLastLog
Gets time of last log.
Public methodGetValue
Gets value of global or site counter. If the parameter siteName is null, get global counter value.
Public methodIncrement
Increments global and site counter. If the parameter siteName is null, increments only global counter.
Public methodReset
Resets global and sites values.
Public methodSetValue
Sets raw value of global or site counter. If the parameter siteName is null, sets global counter.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Protected propertyLastLogs
Time of last log.
Public propertySites
Gets collection of sites name.
Protected propertySitesCounters
Gets sites counters (key - site name).
Top
See Also