Szerkesztés

Megosztás a következőn keresztül:


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

Definition

Initializes a new instance of the IncrementingPollingCounter class.

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))

Parameters

name
String

The name for this IncrementingPollingCounter instance.

eventSource
EventSource

The event source this instance is a part of.

totalValueProvider
Func<Double>

A method that will be used to poll the value.

Applies to