WebTestRecorderPluginReference 类

表示对可执行插件的引用的 Web 性能测试规则。

继承层次结构

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestRuleBase
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestRecorderPluginReference

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
<SerializableAttribute> _
Public Class WebTestRecorderPluginReference _
    Inherits WebTestRuleBase
[SerializableAttribute]
public class WebTestRecorderPluginReference : WebTestRuleBase
[SerializableAttribute]
public ref class WebTestRecorderPluginReference : public WebTestRuleBase
[<SerializableAttribute>]
type WebTestRecorderPluginReference =  
    class
        inherit WebTestRuleBase
    end
public class WebTestRecorderPluginReference extends WebTestRuleBase

WebTestRecorderPluginReference 类型公开以下成员。

构造函数

  名称 说明
公共方法 WebTestRecorderPluginReference 初始化 WebTestRecorderPluginReference 类的新实例。

页首

属性

  名称 说明
公共属性 AlwaysExecute 获取或设置一个值,该值表示被引用的插件是否必须一直执行。
公共属性 Description 获取或设置规则或插件的说明。 (继承自 WebTestRuleBase。)
公共属性 DisplayName 获取或设置要在 Web 性能测试编辑器中显示的规则或插件的名称。 (继承自 WebTestRuleBase。)
公共属性 ExecutionOrder (继承自 WebTestRuleBase。)
公共属性 Properties 获取或设置 PluginOrRuleProperty 对象的集合,其中每个集合成员都对应规则或插件实现定义的一个属性。 (继承自 WebTestRuleBase。)
公共属性 Type 获取或设置表示规则或插件的类型的 Type 对象。 (继承自 WebTestRuleBase。)

页首

方法

  名称 说明
公共方法 Clone 返回为此对象精确副本的新 WebTestRecorderPluginReference。 (重写 WebTestRuleBase.Clone()。)
公共方法 CreateInstance 返回引用的插件的实例。
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.TestTools.WebTesting 命名空间