Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Registers each of the provided test controllers with the team project collection.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Sub Register ( _
testControllers As IEnumerable(Of ITestController) _
)
void Register(
IEnumerable<ITestController> testControllers
)
void Register(
IEnumerable<ITestController^>^ testControllers
)
abstract Register :
testControllers:IEnumerable<ITestController> -> unit
function Register(
testControllers : IEnumerable<ITestController>
)
Parameters
testControllers
Type: IEnumerable<ITestController>A list of test controller objects.
Exceptions
| Exception | Condition |
|---|---|
| TestManagementInvalidOperationException | One test controller has already been registered. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITestControllerHelper Interface