一个由 Microsoft.VisualStudio.TestTools.WebTesting 命名空间中的规则和引用类扩展的抽象基类。
继承层次结构
System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestRuleBase
    Microsoft.VisualStudio.TestTools.WebTesting.ConditionalRuleReference
    Microsoft.VisualStudio.TestTools.WebTesting.ExtractionRuleReference
    Microsoft.VisualStudio.TestTools.WebTesting.RequestBodyEditorPluginReference
    Microsoft.VisualStudio.TestTools.WebTesting.ValidationRuleReference
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestPluginReference
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestRecorderPluginReference
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestPluginReference
命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
<SerializableAttribute> _
Public MustInherit Class WebTestRuleBase _
    Implements ICloneable
[SerializableAttribute]
public abstract class WebTestRuleBase : ICloneable
[SerializableAttribute]
public ref class WebTestRuleBase abstract : ICloneable
[<AbstractClass>]
[<SerializableAttribute>]
type WebTestRuleBase =  
    class
        interface ICloneable
    end
public abstract class WebTestRuleBase implements ICloneable
WebTestRuleBase 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
| .gif) | WebTestRuleBase() | 初始化 WebTestRuleBase 类的新实例。 | 
| .gif) | WebTestRuleBase(Type) | 使用指定的类型初始化 WebTestRuleBase 类的新实例。 | 
| .gif) | WebTestRuleBase(WebTestRuleBase) | 通过复制指定的 WebTestRuleBase 来初始化 WebTestRuleBase 类的新实例。 | 
页首
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Description | 获取或设置规则或插件的说明。 | 
| .gif) | DisplayName | 获取或设置要在 Web 性能测试编辑器中显示的规则或插件的名称。 | 
| .gif) | ExecutionOrder | |
| .gif) | Properties | 获取或设置 PluginOrRuleProperty 对象的集合,其中每个集合成员都对应规则或插件实现定义的一个属性。 | 
| .gif) | Type | 获取或设置表示规则或插件的类型的 Type 对象。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Clone | 创建作为当前实例的副本的新 WebTestRuleBase。 | 
| .gif) | Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | 
| .gif) | Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | 
| .gif) | GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | 
| .gif) | GetType | 获取当前实例的 Type。 (继承自 Object。) | 
| .gif) | MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | 
| .gif) | ToString | 返回表示当前对象的字符串。 (继承自 Object。) | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。