ITestEnvironmentHelper.Create 方法 (ITestManagementTeamProject, ITestController)
返回新的测试环境。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Function Create ( _
teamProject As ITestManagementTeamProject, _
testController As ITestController _
) As ITestEnvironment
ITestEnvironment Create(
ITestManagementTeamProject teamProject,
ITestController testController
)
ITestEnvironment^ Create(
ITestManagementTeamProject^ teamProject,
ITestController^ testController
)
abstract Create :
teamProject:ITestManagementTeamProject *
testController:ITestController -> ITestEnvironment
function Create(
teamProject : ITestManagementTeamProject,
testController : ITestController
) : ITestEnvironment
参数
- teamProject
类型:Microsoft.TeamFoundation.TestManagement.Client.ITestManagementTeamProject
测试环境的 ITestManagementTeamProject。
- testController
类型:Microsoft.TeamFoundation.TestManagement.Client.ITestController
测试环境的 ITestController。
返回值
类型:Microsoft.TeamFoundation.TestManagement.Client.ITestEnvironment
测试环境。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。