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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.