Del via


MeterScope Enum

Definition

This is used by InstrumentRule to distinguish between meters created via Meter constructors (Global) and those created via Dependency Injection with Create(MeterOptions) (Local)."/>.

This enumeration supports a bitwise combination of its member values.

public enum class MeterScope
[System.Flags]
public enum MeterScope
[<System.Flags>]
type MeterScope = 
Public Enum MeterScope
Inheritance
MeterScope
Attributes

Fields

Name Value Description
None 0

No scope is specified. This should not be used.

Global 1

Indicates Meter instances created via Meter constructors.

Local 2

Indicates Meter instances created via Dependency Injection with Create(MeterOptions).

Applies to