Share via


InstanceDataCollection(String) Konstruktor

Definice

Upozornění

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

Upozornění

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

Upozornění

This constructor has been deprecated. Use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.

Inicializuje novou instanci InstanceDataCollection třídy pomocí zadaného čítače výkonu (který definuje instanci výkonu).

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

Parametry

counterName
String

Název čítače, který často popisuje množství, které se počítá.

Atributy

Výjimky

Parametr counterName je null.

Platí pro