IncrementingPollingCounter(String, EventSource, Func<Double>) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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))
參數
- name
- String
這個例子的名稱 IncrementingPollingCounter 。
- eventSource
- EventSource
這個實例所屬的事件來源。