InstanceDataCollection(String) Costruttore

Definizione

Attenzione

This constructor has been deprecated. Please use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead. http://go.microsoft.com/fwlink/?linkid=14202

Inizializza una nuova istanza della InstanceDataCollection classe utilizzando il contatore delle prestazioni specificato (che definisce un'istanza delle prestazioni).

public:
 InstanceDataCollection(System::String ^ counterName);
public InstanceDataCollection(string counterName);
[System.Obsolete("This constructor has been deprecated.  Please use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public InstanceDataCollection(string counterName);
new System.Diagnostics.InstanceDataCollection : string -> System.Diagnostics.InstanceDataCollection
[<System.Obsolete("This constructor has been deprecated.  Please use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Diagnostics.InstanceDataCollection : string -> System.Diagnostics.InstanceDataCollection
Public Sub New (counterName As String)

Parametri

counterName
String

Nome del contatore, che spesso descrive la quantità conteggiata.

Attributi

Eccezioni

Il counterName parametro è null.

Si applica a