MeterListener.MeasurementsCompleted 属性

定义

获取或设置回调,以便在某些仪器上停止测量时收到通知。 当释放计量或侦听器或在侦听器上调用 Dispose() 时,可能会发生这种情况。

public:
 property Action<System::Diagnostics::Metrics::Instrument ^, System::Object ^> ^ MeasurementsCompleted { Action<System::Diagnostics::Metrics::Instrument ^, System::Object ^> ^ get(); void set(Action<System::Diagnostics::Metrics::Instrument ^, System::Object ^> ^ value); };
public Action<System.Diagnostics.Metrics.Instrument,object?>? MeasurementsCompleted { get; set; }
member this.MeasurementsCompleted : Action<System.Diagnostics.Metrics.Instrument, obj> with get, set
Public Property MeasurementsCompleted As Action(Of Instrument, Object)

属性值

用于在某些仪器上停止测量时接收通知的回调。

适用于