Share via


IMetricsListener.MeasurementsCompleted(Instrument, Object) Method

Definition

Called when a instrument is disabled by the producer or a rules change.

public:
 void MeasurementsCompleted(System::Diagnostics::Metrics::Instrument ^ instrument, System::Object ^ userState);
public void MeasurementsCompleted (System.Diagnostics.Metrics.Instrument instrument, object? userState);
abstract member MeasurementsCompleted : System.Diagnostics.Metrics.Instrument * obj -> unit
Public Sub MeasurementsCompleted (instrument As Instrument, userState As Object)

Parameters

instrument
Instrument

The Instrument being disabled.

userState
Object

The original listener state returned by InstrumentPublished(Instrument, Object).

Applies to