The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ITestEnvironmentHelper::Register Method (IEnumerable<ITestEnvironment^>^)
Registers the provided test environment objects with the team project collection.
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Parameters
- testEnvironments
-
Type:
System.Collections.Generic::IEnumerable<ITestEnvironment^>^
A list of ITestEnvironment objects.
| Exception | Condition |
|---|---|
| TestManagementInvalidOperationException | One or more test environments are already registered or are missing values for either the TeamProject or TestController properties. |
Show: