Attribute for defining performance counters in ExtendedPerfCounterManagerBase children More...
Public Member Functions | |
PerfCounterAttribute (string name, PerformanceCounterType type, string description="", string categoryName=null) | |
Initializes a new instance of the PerfCounterAttribute class. More... | |
PerfCounterAttribute (string name, PerformanceCounterType type, PerformanceCounterInstanceLifetime counterLifetime, string description="", string categoryName=null) | |
Initializes a new instance of the PerfCounterAttribute class. More... | |
Properties | |
string | Name [get] |
Name of counter More... | |
string | Description [get] |
Counter description More... | |
PerformanceCounterType | Type [get] |
Type of system performance counter More... | |
string | CategoryName [get, set] |
To which part counter applies: CounterCategory.Connection or CounterCategory.Server More... | |
PerformanceCounterInstanceLifetime? | CounterLifetime [get] |
Counter instance lifetime. Takes precedence over PerfCounterCategoryAttribute.CategoryInstanceLifetime if specified. More... | |
Attribute for defining performance counters in ExtendedPerfCounterManagerBase children
|
inline |
Initializes a new instance of the PerfCounterAttribute class.
name | Name of counter |
type | Type of system performance counter |
description | Counter description |
categoryName | To which part counter applies: CounterCategory.Connection or CounterCategory.Server |
|
inline |
Initializes a new instance of the PerfCounterAttribute class.
name | Name of counter |
type | Type of system performance counter |
counterLifetime | Counter instance lifetime. Takes precedence over PerfCounterCategoryAttribute.CategoryInstanceLifetime if specified. |
description | Counter description |
categoryName | To which part counter applies: CounterCategory.Connection or CounterCategory.Server |
|
getset |
To which part counter applies: CounterCategory.Connection or CounterCategory.Server
|
get |
Counter instance lifetime. Takes precedence over PerfCounterCategoryAttribute.CategoryInstanceLifetime if specified.
|
get |
Counter description
|
get |
Name of counter
|
get |
Type of system performance counter