表示测试结果的详细信息。
继承层次结构
System.Object
  Microsoft.VisualStudio.TestTools.Common.TestResultDetail
命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
语法
声明
<SerializableAttribute> _
Public Class TestResultDetail _
    Implements IXmlTestStore
[SerializableAttribute]
public class TestResultDetail : IXmlTestStore
[SerializableAttribute]
public ref class TestResultDetail : IXmlTestStore
[<SerializableAttribute>]
type TestResultDetail =  
    class
        interface IXmlTestStore
    end
public class TestResultDetail implements IXmlTestStore
TestResultDetail 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
| .gif) | TestResultDetail | 使用所提供的测试结果和测试运行初始化 TestResultDetail 类的新实例。 | 
页首
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | RunId | 获取测试运行的 ID。 | 
| .gif) | TestElements | 获取测试元素的字典。 | 
| .gif) | TestResult | 获取测试结果。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | 
| .gif) | Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | 
| .gif) | GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | 
| .gif) | GetType | 获取当前实例的 Type。 (继承自 Object。) | 
| .gif) | Load | 使用给定参数,加载此类在所提供 XML 元素中的实例。 | 
| .gif) | MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | 
| .gif) | Save | 在所提供 XML 元素中保存此对象。 | 
| .gif) | ToString | 返回表示当前对象的字符串。 (继承自 Object。) | 
页首
字段
| 名称 | 说明 | |
|---|---|---|
| .gif) .gif) | IsDev10Parameter | 返回“TestResultDetail.IsDev10”。 | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。