Condividi tramite


IncrementingEventCounter(String, EventSource) Costruttore

Definizione

Inizializza una nuova istanza della 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)

Parametri

name
String

Nome dell'istanza di IncrementingEventCounter.

eventSource
EventSource

Origine evento.

Commenti

IncrementingEventCounter vivere finché sono EventSource collegati a, a meno che non vengano eliminati in modo esplicito.

Si applica a