MeterScope 列舉

定義

表示用來 InstrumentRule 區分透過 Meter 建構函式所建立的計量範圍 (Global) ,以及透過相依性插入建立的範圍, (Create(MeterOptions)Local) 。

此列舉支援其成員值的位元組合。

public enum class MeterScope
[System.Flags]
public enum MeterScope
[<System.Flags>]
type MeterScope = 
Public Enum MeterScope
繼承
MeterScope
屬性

欄位

Global 1

表示 Meter 透過 Meter 建構函式建立的實例。

Local 2

指出 Meter 使用 Create(MeterOptions)透過相依性插入所建立的實例。

None 0

未指定範圍。 不應使用此欄位。

適用於