PSCounterSetRegistrar Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
PSCounterSetRegistrar implements the abstract methods of CounterSetRegistrarBase. Any client that needs to register a new type of perf counter category with the PSPerfCountersMgr, should create an instance of PSCounterSetRegistrar. The created instance is then passed to PSPerfCounterMgr's AddCounterSetInstance() method.
public ref class PSCounterSetRegistrar : System::Management::Automation::PerformanceData::CounterSetRegistrarBase
public class PSCounterSetRegistrar : System.Management.Automation.PerformanceData.CounterSetRegistrarBase
type PSCounterSetRegistrar = class
inherit CounterSetRegistrarBase
Public Class PSCounterSetRegistrar
Inherits CounterSetRegistrarBase
- Inheritance
Constructors
PSCounterSetRegistrar(Guid, Guid, CounterSetInstanceType, CounterInfo[], String) |
Constructor that creates an instance of PSCounterSetRegistrar. |
PSCounterSetRegistrar(PSCounterSetRegistrar) |
Copy Constructor |
Fields
_counterSetInstanceBase |
A reference to the encapsulated counter set instance. (Inherited from CounterSetRegistrarBase) |
Properties
CounterInfoArray |
Getter method for array of counters information property (Inherited from CounterSetRegistrarBase) |
CounterSetId |
Getter method for CounterSetId property (Inherited from CounterSetRegistrarBase) |
CounterSetInstance |
Getter method that returns an instance of the CounterSetInstanceBase's derived type (Inherited from CounterSetRegistrarBase) |
CounterSetInstType |
Getter method for CounterSetInstanceType property (Inherited from CounterSetRegistrarBase) |
CounterSetName |
Getter method for CounterSetName property (Inherited from CounterSetRegistrarBase) |
ProviderId |
Getter method for ProviderId property (Inherited from CounterSetRegistrarBase) |
Methods
CreateCounterSetInstance() |
Method that creates an instance of the CounterSetInstanceBase's derived type. |
DisposeCounterSetInstance() |
Method that disposes the referenced instance of the CounterSetInstanceBase's derived type. |