EventCounter(String, EventSource) Constructor

Definición

Inicializa una nueva instancia de la clase EventCounter.

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

Parámetros

name
String

Nombre de contador de eventos.

eventSource
EventSource

Origen del evento.

Excepciones

name es null.

O bien

eventSource es null.

Se aplica a