共用方式為


IObservableInstrumentsSource Interface

Definition

An interface registered with each IMetricsListener using Initialize(IObservableInstrumentsSource).

public interface class IObservableInstrumentsSource
public interface IObservableInstrumentsSource
type IObservableInstrumentsSource = interface
Public Interface IObservableInstrumentsSource

Remarks

The listener can call RecordObservableInstruments() to receive the current set of measurements for enabled observable instruments.

Methods

RecordObservableInstruments()

Requests that the current set of metrics for enabled instruments be sent to the listener's MeasurementCallback<T> objects.

Applies to