WebTestResultLoopIteration 类

包含 Web 性能测试循环迭代的结果的类。

继承层次结构

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultUnit
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultGroup
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultLoopIteration

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

语法

声明
<SerializableAttribute> _
Public Class WebTestResultLoopIteration _
    Inherits WebTestResultGroup _
    Implements ICloneable
[SerializableAttribute]
public class WebTestResultLoopIteration : WebTestResultGroup, 
    ICloneable
[SerializableAttribute]
public ref class WebTestResultLoopIteration : public WebTestResultGroup, 
    ICloneable
[<SerializableAttribute>]
type WebTestResultLoopIteration =  
    class
        inherit WebTestResultGroup
        interface ICloneable
    end
public class WebTestResultLoopIteration extends WebTestResultGroup implements ICloneable

WebTestResultLoopIteration 类型公开以下成员。

属性

  名称 说明
公共属性 Children 获取组的子级。这通常可以为一个页面,也可以为其他群组。Set 存取器设置为内部。 (继承自 WebTestResultGroup。)
公共属性 DeclarativeWebTestItemId 获取或设置该声明性测试请求的 ID。 (继承自 WebTestResultUnit。)
公共属性 ErrorOccurred 获取或设置一个值,该值指示是否出现错误。
公共属性 IsCompleted 获取一个布尔值,该值指示响应是否该结果状态是 Completed。 (继承自 WebTestResultUnit。)
公共属性 IsSkipped 获取一个布尔值,指示该要求是否被跳过。 (继承自 WebTestResultUnit。)
公共属性 IterationNumber 获取或设置迭代数。
公共属性 Passed 获取指示是否 Web 性能测试能通过的布尔指示符。 (重写 WebTestResultGroup.Passed。)
公共属性 RequestResult 获取或设置请求结果。
公共属性 ResultStatus 获取或设置此页面或请求的 WebTestResultStatus 。 (继承自 WebTestResultUnit。)
公共属性 SourceWebTestId 获取或设置 Web 性能测试的 ID。 (继承自 WebTestResultUnit。)
公共属性 StopLoopIteration 获取或设置停止循环的迭代。
公共属性 UniqueStringId 获取或设置唯一的字符串 ID。

页首

方法

  名称 说明
受保护的方法 AddNonExecutedChildren 在结果组中添加 Web 性能测试项,并将它们标记为模板。 (继承自 WebTestResultGroup。)
公共方法 Clone 创建作为当前实例副本的新对象。 (重写 WebTestResultUnit.Clone()。)
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetItem 从集合中检索指定索引位置的 WebTestResultUnit。 (继承自 WebTestResultGroup。)
公共方法 GetRequestSize 返回请求的大小。 (继承自 WebTestResultGroup。)
公共方法 GetResponseSize 返回响应的大小。 (继承自 WebTestResultGroup。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 IsConditionalRuleMet 如果满足条件规则,则返回 true;否则返回 false。
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

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

请参见

参考

Microsoft.VisualStudio.TestTools.WebTesting 命名空间