InstanceDataCollection(String) Constructor

Definitie

Let op

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

Initialiseert een nieuw exemplaar van de InstanceDataCollection klasse met behulp van het opgegeven prestatiemeteritems (waarmee een prestatie-exemplaar wordt gedefinieerd).

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)

Parameters

counterName
String

De naam van de teller, die vaak de hoeveelheid beschrijft die wordt geteld.

Kenmerken

Uitzonderingen

De counterName parameter is null.

Van toepassing op