表示针对一行数据执行测试用例的结果。
命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Public Interface ITestIterationResult _
    Inherits ITestResult, IAttachmentOwner, INotifyPropertyChanged
public interface ITestIterationResult : ITestResult, 
    IAttachmentOwner, INotifyPropertyChanged
public interface class ITestIterationResult : ITestResult, 
    IAttachmentOwner, INotifyPropertyChanged
type ITestIterationResult =  
    interface
        interface ITestResult
        interface IAttachmentOwner
        interface INotifyPropertyChanged
    end
public interface ITestIterationResult extends ITestResult, IAttachmentOwner, INotifyPropertyChanged
ITestIterationResult 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Actions | 获取每个测试步骤或组成部分的详细结果。 | 
| .gif) | Attachments | 获取附件的集合。 (继承自 IAttachmentOwner。) | 
| .gif) | CollectorsEnabled | 获取为此结果启用的数据收集器的列表。 (继承自 ITestResult。) | 
| .gif) | Comment | 获取或设置由分析此结果的人员输入的累积注释。 (继承自 ITestResult。) | 
| .gif) | DateCompleted | 获取或设置测试的完成日期。 (继承自 ITestResult。) | 
| .gif) | DateCreated | 获取或设置测试创建的日期。 (继承自 ITestResult。) | 
| .gif) | DateStarted | 获取或设置测试启动的日期。 (继承自 ITestResult。) | 
| .gif) | Duration | 获取或设置要执行测试所用的时间。这不包括执行暂停期间的时间。 (继承自 ITestResult。) | 
| .gif) | ErrorMessage | 获取或设置失败的说明(如果测试未通过)。 (继承自 ITestResult。) | 
| .gif) | IterationId | 获取生成这些结果的迭代的数字序列标识符。 | 
| .gif) | Outcome | 获取或设置测试结果的指示。 (继承自 ITestResult。) | 
| .gif) | Parameters | 获取从测试结果提取的参数(包括值)的集合。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | CreateAttachment(String) | 依据文件创建附件。 (继承自 IAttachmentOwner。) | 
| .gif) | CreateAttachment(String, SourceFileAction) | 依据文件创建附件,可以选择在上载之后删除源文件。 (继承自 IAttachmentOwner。) | 
| .gif) | CreateSharedStepResult | 创建并返回一个新的共享步骤结果。 | 
| .gif) | CreateStepResult | 创建并返回一个新的测试步骤结果。 | 
| .gif) | FindActionResult | 返回给定测试操作的结果。 | 
页首
事件
| 名称 | 说明 | |
|---|---|---|
| .gif) | AttachmentUploadCompleted | 此事件在附件上载完成时引发。 (继承自 IAttachmentOwner。) | 
| .gif) | PropertyChanged | 在更改属性值时发生。 (继承自 INotifyPropertyChanged。) | 
页首