Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Releases all the resources used by the PerformanceCounter object.
|
|
PerformanceCounter ( string categoryName, string counterName, string instanceName ) : System |
Initializes a new instance of the PerformanceCounter class.
|
|
PerformanceCounter ( string categoryName, string counterName, string instanceName, string aliasName ) : System |
Initializes a new instance of the PerformanceCounter class.
|
|
PerformanceCounter ( string categoryName, string counterName, string instanceName, string aliasName, string valueUnit ) : System |
Initializes a new instance of the PerformanceCounter class.
|
|
PerformanceCounter ( string categoryName, string counterName, string instanceName, string aliasName, string valueUnit, float valueDivisor, bool readOnly = true ) : System |
Initializes a new instance of the PerformanceCounter class.
|
|
Reset ( ) : void |
Resets the PerformanceCounter object to its initial state.
|
|
Sample ( ) : void |
Obtains a sample value from the BaseCounter.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the PerformanceCounter object and optionally releases the managed resources.
|
Метод | Описание | |
---|---|---|
PerformanceCounter ( |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Результат | void |
public PerformanceCounter ( string categoryName, string counterName, string instanceName ) : System | ||
categoryName | string | The name of the performance counter category (performance object) with which this performance counter is associated. |
counterName | string | The name of the performance counter. |
instanceName | string | The name of the performance counter category instance, or an empty string (""), if the category contains a single instance. |
Результат | System |
public PerformanceCounter ( string categoryName, string counterName, string instanceName, string aliasName ) : System | ||
categoryName | string | The name of the performance counter category (performance object) with which this performance counter is associated. |
counterName | string | The name of the performance counter. |
instanceName | string | The name of the performance counter category instance, or an empty string (""), if the category contains a single instance. |
aliasName | string | The alias name for the |
Результат | System |
public PerformanceCounter ( string categoryName, string counterName, string instanceName, string aliasName, string valueUnit ) : System | ||
categoryName | string | The name of the performance counter category (performance object) with which this performance counter is associated. |
counterName | string | The name of the performance counter. |
instanceName | string | The name of the performance counter category instance, or an empty string (""), if the category contains a single instance. |
aliasName | string | The alias name for the |
valueUnit | string | The measurement unit for the statistical values of the |
Результат | System |
public PerformanceCounter ( string categoryName, string counterName, string instanceName, string aliasName, string valueUnit, float valueDivisor, bool readOnly = true ) : System | ||
categoryName | string | The name of the performance counter category (performance object) with which this performance counter is associated. |
counterName | string | The name of the performance counter. |
instanceName | string | The name of the performance counter category instance, or an empty string (""), if the category contains a single instance. |
aliasName | string | The alias name for the |
valueUnit | string | The measurement unit for the statistical values of the |
valueDivisor | float | The divisor to be applied to the statistical values of the |
readOnly | bool | Flag that determines if this counter is read-only. |
Результат | System |