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 ();
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.