Rediger

Del via


ObservableInstrument<T>.Observe Method

Definition

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