Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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