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)

属性值

在发布检测时接收通知的回调。

适用于