IMetricsListener.MeasurementsCompleted(Instrument, Object) 方法

定义

当生成者禁用仪器或规则更改时调用。

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)

参数

instrument
Instrument

Instrument正在禁用的 。

userState
Object

返回 InstrumentPublished(Instrument, Object)的原始侦听器状态。

适用于