Compartilhar via


IncrementingEventCounter(String, EventSource) Construtor

Definição

Inicializa uma nova instância da classe 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)

Parâmetros

name
String

O nome dessa instância IncrementingEventCounter.

eventSource
EventSource

A fonte do evento.

Comentários

IncrementingEventCounter vivem desde que o EventSource ao qual estão anexados, a menos que sejam explicitamente descartados.

Aplica-se a