Op Englesch liesen Editéieren

Deelen iwwer


IMeterFactory.Create(MeterOptions) Method

Definition

Creates a new Meter instance.

C#
public System.Diagnostics.Metrics.Meter Create(System.Diagnostics.Metrics.MeterOptions options);

Parameters

options
MeterOptions

The MeterOptions to use when creating the meter.

Returns

A new Meter instance.

Remarks

The Meter instance returned by this method should be cached by the factory and returned for subsequent requests for a meter with the same parameters (name, version, and tags).

Applies to

Produkt Versiounen
.NET 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)