共用方式為


LoopConditionalRuleReference 類別

類別,用於包含要在迴圈中使用之特定條件式規則的參考。

繼承階層架構

Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestRuleBase
    Microsoft.VisualStudio.TestTools.WebTesting.ConditionalRuleReference
      Microsoft.VisualStudio.TestTools.WebTesting.LoopConditionalRuleReference

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
<SerializableAttribute> _
Public Class LoopConditionalRuleReference _
    Inherits ConditionalRuleReference
[SerializableAttribute]
public class LoopConditionalRuleReference : ConditionalRuleReference
[SerializableAttribute]
public ref class LoopConditionalRuleReference : public ConditionalRuleReference
[<SerializableAttribute>]
type LoopConditionalRuleReference =  
    class 
        inherit ConditionalRuleReference 
    end
public class LoopConditionalRuleReference extends ConditionalRuleReference

LoopConditionalRuleReference 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 LoopConditionalRuleReference() 初始化 LoopConditionalRuleReference 類別的新執行個體。
公用方法 LoopConditionalRuleReference(Type) 使用指定的型別來初始化 LoopConditionalRuleReference 類別的新執行個體。
公用方法 LoopConditionalRuleReference(LoopConditionalRuleReference) 透過建立指定之 LoopConditionalRuleReference 的複本,初始化 LoopConditionalRuleReference 類別的新執行個體。

回頁首

屬性

  名稱 描述
公用屬性 AdvanceDataCursors 取得或設定資料游標是否應該前進的指標。
公用屬性 Description 取得或設定規則或外掛程式的描述。 (繼承自 WebTestRuleBase)。
公用屬性 DisplayName 取得或設定要在 Web 效能測試編輯器中顯示的規則或外掛程式名稱。 (繼承自 WebTestRuleBase)。
公用屬性 ExecutionOrder (繼承自 WebTestRuleBase)。
公用屬性 MaxIterations 取得或設定迴圈的最大反覆項目數目。
公用屬性 Properties 使用規則或外掛程式實作所定義之每個屬性的一個成員,取得或設定 PluginOrRuleProperty 物件的集合。 (繼承自 WebTestRuleBase)。
公用屬性 Type 取得或設定表示規則或外掛程式型別的 Type 物件。 (繼承自 WebTestRuleBase)。

回頁首

方法

  名稱 描述
公用方法 Clone 建立新的 LoopConditionalRuleReference,這是目前執行個體的複本。 (覆寫 WebTestRuleBase.Clone()。)
公用方法 Equals 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。
受保護的方法 Finalize 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前實例 Type 的屬性。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。
公用方法 ToString 傳回代表目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.TestTools.WebTesting 命名空間