共用方式為


MeterListener.InstrumentPublished 屬性

定義

取得或設定回呼,以在發行檢測時收到通知。

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

屬性值

在發行檢測時收到通知的回呼。

適用於