表示 TestCaseEnd 事件的事件参数。
继承层次结构
System.Object
  System.EventArgs
    Microsoft.VisualStudio.TestTools.Execution.DataCollectionEventArgs
      Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
        Microsoft.VisualStudio.TestTools.Execution.TestCaseEndEventArgs
命名空间:  Microsoft.VisualStudio.TestTools.Execution
程序集:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)
语法
声明
<SerializableAttribute> _
Public NotInheritable Class TestCaseEndEventArgs _
    Inherits TestCaseEventArgs
[SerializableAttribute]
public sealed class TestCaseEndEventArgs : TestCaseEventArgs
[SerializableAttribute]
public ref class TestCaseEndEventArgs sealed : public TestCaseEventArgs
[<Sealed>]
[<SerializableAttribute>]
type TestCaseEndEventArgs =  
    class
        inherit TestCaseEventArgs
    end
public final class TestCaseEndEventArgs extends TestCaseEventArgs
TestCaseEndEventArgs 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
| .gif) | TestCaseEndEventArgs | 
页首
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Context | 获取或设置事件的上下文信息。 (继承自 DataCollectionEventArgs。) | 
| .gif) | IsChildTestCase | 获取或设置一个值,该值指示测试用例是否为另一个测试用例的子测试用例。 (继承自 TestCaseEventArgs。) | 
| .gif) | TcmInformation | 获取对象,该对象中包含的信息可用于从测试管理器服务器获取有关测试用例的更多数据。 (继承自 TestCaseEventArgs。) | 
| .gif) | TestCaseId | 获取或设置测试用例标识符。 (继承自 TestCaseEventArgs。) | 
| .gif) | TestCaseName | 获取或设置测试用例的名称。 (继承自 TestCaseEventArgs。) | 
| .gif) | TestElement | 获取当前测试。 (继承自 TestCaseEventArgs。) | 
| .gif) | TestOutcome | 获取或设置测试的 TestOutcome。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .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) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。