ObservableInstrument<T>.Observe Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fetches the current measurements being tracked by this instrument. All classes extending ObservableInstrument{T} need to implement this method.
protected:
abstract System::Collections::Generic::IEnumerable<System::Diagnostics::Metrics::Measurement<T>> ^ Observe();
protected abstract System.Collections.Generic.IEnumerable<System.Diagnostics.Metrics.Measurement<T>> Observe ();
abstract member Observe : unit -> seq<System.Diagnostics.Metrics.Measurement<'T>>
override this.Observe : unit -> seq<System.Diagnostics.Metrics.Measurement<'T>>
Protected MustOverride Function Observe () As IEnumerable(Of Measurement(Of T))
Returns
The current measurements tracked by this instrument.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.