Freigeben über


InstrumentRule.Scopes Property

Definition

Gets the MeterScope.

public:
 property Microsoft::Extensions::Diagnostics::Metrics::MeterScope Scopes { Microsoft::Extensions::Diagnostics::Metrics::MeterScope get(); };
public Microsoft.Extensions.Diagnostics.Metrics.MeterScope Scopes { get; }
member this.Scopes : Microsoft.Extensions.Diagnostics.Metrics.MeterScope
Public ReadOnly Property Scopes As MeterScope

Property Value

Remarks

This property is used to distinguish between meters created via Meter constructors (Global) and those created via Dependency Injection with Create(MeterOptions) (Local).

Applies to