PollingCounter(String, EventSource, Func<Double>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PollingCounter class.
public:
PollingCounter(System::String ^ name, System::Diagnostics::Tracing::EventSource ^ eventSource, Func<double> ^ metricProvider);
public PollingCounter (string name, System.Diagnostics.Tracing.EventSource eventSource, Func<double> metricProvider);
new System.Diagnostics.Tracing.PollingCounter : string * System.Diagnostics.Tracing.EventSource * Func<double> -> System.Diagnostics.Tracing.PollingCounter
Public Sub New (name As String, eventSource As EventSource, metricProvider As Func(Of Double))
Parameters
- name
- String
The name for this PollingCounter instance.
- eventSource
- EventSource
The event source.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.