Share via


InstrumentRule 類別

定義

包含一組參數,用來判斷哪些接聽程式已啟用哪些檢測。 未指定的參數符合任何專案。

public ref class InstrumentRule
public class InstrumentRule
type InstrumentRule = class
Public Class InstrumentRule
繼承
InstrumentRule

備註

將會使用最符合指定檢測的特定規則。 參數的優先順序如下所示:

  • MeterName、完全相符或最長的前置詞比對。 請參閱 Name
  • InstrumentName,完全相符。 請參閱 Name
  • ListenerName,完全相符。 請參閱 Name
  • 範圍。

建構函式

InstrumentRule(String, String, String, MeterScope, Boolean)

初始化 InstrumentRule 類別的新執行個體。

屬性

Enable

取得值,這個值表示是否應該為接聽程式啟用檢測。

InstrumentName

Name取得,完全相符。

ListenerName

Name取得,完全相符。

MeterName

Name取得 ,其為完全相符專案或最長前置詞比對。 只會考慮完整的區段相符專案。

Scopes

取得 MeterScope

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於