Поделиться через


InstanceDataCollection(String) Конструктор

Определение

Внимание!

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

Внимание!

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

Внимание!

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

Инициализирует новый экземпляр класса InstanceDataCollection, используя указанный счетчик производительности (который определяет экземпляр производительности).

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)

Параметры

counterName
String

Имя счетчика, который часто описывает подсчитываемое количество.

Атрибуты

Исключения

Параметр counterName имеет значение null.

Применяется к