The Counter type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
Counter |
Constructor.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Log |
Logs global and sites values.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
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.) |
Properties
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.
|
See Also