System.Diagnostics.PerformanceCounterInstaller.Install Method

Performs the installation.

Syntax

public override void Install (IDictionary stateSaver)

Parameters

stateSaver
An IDictionary that is used to save the information needed to perform a commit, rollback, or uninstall operation.

Remarks

Note:

When installing both a service and a performance counter with the same name, install the service before installing the performance counter.

Requirements

Namespace: System.Diagnostics
Assembly: System.Configuration.Install (in System.Configuration.Install.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0