TestStepEndEventArgs 类

表示 TestStepEnd 事件的事件参数。

继承层次结构

System.Object
  System.EventArgs
    Microsoft.VisualStudio.TestTools.Execution.DataCollectionEventArgs
      Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
        Microsoft.VisualStudio.TestTools.Execution.TestStepEventArgs
          Microsoft.VisualStudio.TestTools.Execution.TestStepEndEventArgs

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

语法

声明
<SerializableAttribute> _
Public NotInheritable Class TestStepEndEventArgs _
    Inherits TestStepEventArgs
[SerializableAttribute]
public sealed class TestStepEndEventArgs : TestStepEventArgs
[SerializableAttribute]
public ref class TestStepEndEventArgs sealed : public TestStepEventArgs
[<Sealed>]
[<SerializableAttribute>]
type TestStepEndEventArgs =  
    class
        inherit TestStepEventArgs
    end
public final class TestStepEndEventArgs extends TestStepEventArgs

TestStepEndEventArgs 类型公开以下成员。

构造函数

  名称 说明
公共方法 TestStepEndEventArgs

页首

属性

  名称 说明
公共属性 Context 获取或设置事件的上下文信息。 (继承自 DataCollectionEventArgs。)
公共属性 IsChildTestCase 获取或设置一个值,该值指示测试用例是否为另一个测试用例的子测试用例。 (继承自 TestCaseEventArgs。)
公共属性 TcmInformation 获取对象,该对象中包含的信息可用于从测试管理器服务器获取有关测试用例的更多数据。 (继承自 TestCaseEventArgs。)
公共属性 TestCaseId 获取或设置测试用例标识符。 (继承自 TestCaseEventArgs。)
公共属性 TestCaseName 获取或设置测试用例的名称。 (继承自 TestCaseEventArgs。)
公共属性 TestElement 获取当前测试。 (继承自 TestCaseEventArgs。)
公共属性 TestStepDescription 获取或设置测试步骤的说明。 (继承自 TestStepEventArgs。)
公共属性 TestStepId 获取或设置测试步骤的 ID。 (继承自 TestStepEventArgs。)
公共属性 TestStepOutcome

页首

方法

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

页首

线程安全

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

请参见

参考

Microsoft.VisualStudio.TestTools.Execution 命名空间

TestStepEnd

TestStepEventArgs