ITestEnvironment 接口

 

表示测试管理客户端中的测试环境。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

public interface ITestEnvironment : IPropertyOwner, IDataErrorInfo, 
    INotifyPropertyChanged
public interface class ITestEnvironment : IPropertyOwner, IDataErrorInfo, 
    INotifyPropertyChanged
type ITestEnvironment = 
    interface
        interface IPropertyOwner
        interface IDataErrorInfo
        interface INotifyPropertyChanged
    end
Public Interface ITestEnvironment
    Inherits IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged

属性

名称 说明
System_CAPS_pubproperty ControllerDisplayName

获取拥有测试环境的测试控制器的显示名称。

System_CAPS_pubproperty ControllerEnvironmentId

获取或设置测试控制器的 ID。

System_CAPS_pubproperty ControllerName

获取拥有测试环境的控制器的名称。

System_CAPS_pubproperty DateCreated

获取创建环境的日期和时间。

System_CAPS_pubproperty Description

获取或设置测试环境的说明。

System_CAPS_pubproperty DisplayName

获取或设置测试环境的显示名称。

System_CAPS_pubproperty EnvironmentType

获取或设置表示环境类型的字符串。

System_CAPS_pubproperty Error

(从 IDataErrorInfo 继承。)

System_CAPS_pubproperty Id

获取在 Visual Studio Team Foundation Server 中注册的测试环境标识符。

System_CAPS_pubproperty InvalidProperties

获取无效的属性名称的列表。(从 IPropertyOwner 继承。)

System_CAPS_pubproperty IsDirty

获取一个值,该值指示自上次刷新、获取或保存以来任何属性是否发生了更改。(从 IPropertyOwner 继承。)

System_CAPS_pubproperty Item[String]

(从 IDataErrorInfo 继承。)

System_CAPS_pubproperty LabEnvironmentUri

获取或设置对应实验室环境的统一资源标识符 (URI)。

System_CAPS_pubproperty LabServerUri

获取或设置可在上面找到对应实验室环境的实验室服务器的 URI。

System_CAPS_pubproperty MachineRoles

获取或设置此测试环境中计算机角色的集合。

System_CAPS_pubproperty Name

获取或设置此测试环境在团队项目或测试控制器下的唯一名称。

System_CAPS_pubproperty Owner

获取或设置拥有此环境的人员的标识。

System_CAPS_pubproperty Properties

获取测试控制器的属性包。

System_CAPS_pubproperty TeamProject

获取拥有测试环境的团队项目。

System_CAPS_pubproperty TestController

获取拥有测试环境的测试控制器。

方法

名称 说明
System_CAPS_pubmethod Register()

向团队项目集合注册此测试环境,并设置 Id

System_CAPS_pubmethod Unregister()

从团队项目集合中注销此测试环境及其测试环境。

System_CAPS_pubmethod Update()

保留测试环境的更新属性。

事件

名称 说明
System_CAPS_pubevent PropertyChanged

(从 INotifyPropertyChanged 继承。)

请参阅

ITestEnvironmentHelper
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首