共用方式為


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)

屬性值

在測量停止某些檢測時收到通知的回呼。

適用於