Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Registers this test environment with the team project collection and sets the Id.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Sub Register
void Register()
void Register()
abstract Register : unit -> unit
function Register()
Exceptions
| Exception | Condition |
|---|---|
| TestManagementInvalidOperationException | The test environment was already registered or is missing either the team project or test controller properties. |
.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.