Partilhar via


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

Definição

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

O nome dessa instância IncrementingPollingCounter.

eventSource
EventSource

A origem do evento de que essa instância faz parte.

totalValueProvider
Func<Double>

Um método que será usado para sondar o valor.

Aplica-se a