| Counter Class |
Namespace: CMS.HealthMonitoring
public class Counter
The Counter type exposes the following members.
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| Description |
Gets or sets counter description.
| |
| Enabled |
Indicates if the counter is enabled. Default value is True.
| |
| Error |
Indicates if occurred error during logging to the counter.
| |
| Interval |
Indicates if performance couter is cleared after logging values.
| |
| Key |
Gets or sets the counter key.
| |
| LastErrorMessage |
Last error message.
| |
| Name |
Gets or sets the counter name.
| |
| OnlyGlobal |
Indicates if the counter is logged per instance or per sites (True is per instance). Default value is True.
| |
| OriginalCounter |
Stores original values of CMS performance counter.
| |
| PerformanceCounter |
Gets or sets performance counter.
| |
| PerSecond |
Indicates if counter is logged per second.
| |
| Type |
Gets or sets the counter type.
|