Compartir a través de


IncrementingPollingCounter(String, EventSource, Func<Double>) Constructor

Definición

Inicializa una nueva instancia de la clase IncrementingPollingCounter.

public:
 IncrementingPollingCounter(System::String ^ name, System::Diagnostics::Tracing::EventSource ^ eventSource, Func<double> ^ totalValueProvider);
public IncrementingPollingCounter (string name, System.Diagnostics.Tracing.EventSource eventSource, Func<double> totalValueProvider);
new System.Diagnostics.Tracing.IncrementingPollingCounter : string * System.Diagnostics.Tracing.EventSource * Func<double> -> System.Diagnostics.Tracing.IncrementingPollingCounter
Public Sub New (name As String, eventSource As EventSource, totalValueProvider As Func(Of Double))

Parámetros

name
String

Nombre para esta instancia IncrementingPollingCounter.

eventSource
EventSource

Origen del evento al que pertenece esta instancia.

totalValueProvider
Func<Double>

Método que se usará para sondear el valor.

Se aplica a