Export (0) Print
Expand All

PerformanceCounter Constructor

Initializes a new instance of the PerformanceCounter class.

Name Description
PerformanceCounter () Initializes a new, read-only instance of the PerformanceCounter class, without associating the instance with any system or custom performance counter.
PerformanceCounter (String, String) Initializes a new, read-only instance of the PerformanceCounter class and associates it with the specified system or custom performance counter on the local computer. This constructor requires that the category have a single instance.
PerformanceCounter (String, String, Boolean) Initializes a new, read-only or read/write instance of the PerformanceCounter class and associates it with the specified system or custom performance counter on the local computer. This constructor requires that the category contain a single instance.
PerformanceCounter (String, String, String) Initializes a new, read-only instance of the PerformanceCounter class and associates it with the specified system or custom performance counter and category instance on the local computer.
PerformanceCounter (String, String, String, Boolean) Initializes a new, read-only or read/write instance of the PerformanceCounter class and associates it with the specified system or custom performance counter and category instance on the local computer.
PerformanceCounter (String, String, String, String) Initializes a new, read-only instance of the PerformanceCounter class and associates it with the specified system or custom performance counter and category instance, on the specified computer.

Community Additions

ADD
Show:
© 2014 Microsoft