IncrementingEventCounter(String, EventSource) Конструктор

Определение

Инициализирует новый экземпляр класса IncrementingEventCounter.

public:
 IncrementingEventCounter(System::String ^ name, System::Diagnostics::Tracing::EventSource ^ eventSource);
public IncrementingEventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource);
new System.Diagnostics.Tracing.IncrementingEventCounter : string * System.Diagnostics.Tracing.EventSource -> System.Diagnostics.Tracing.IncrementingEventCounter
Public Sub New (name As String, eventSource As EventSource)

Параметры

name
String

Имя этого IncrementingEventCounter экземпляра.

eventSource
EventSource

Источник события.

Комментарии

IncrementingEventCounter живут до тех пор, пока EventSource они не присоединены к, если они явно не удалены.

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