This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
For information about this class, see ITestManagementService.
Inheritance Hierarchy
Object
Microsoft.TeamFoundation.TestManagement.Client.TestManagementService
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Class TestManagementService _
Implements ITestManagementService, ITfsTeamProjectCollectionObject
public class TestManagementService : ITestManagementService,
ITfsTeamProjectCollectionObject
public ref class TestManagementService : ITestManagementService,
ITfsTeamProjectCollectionObject
type TestManagementService =
class
interface ITestManagementService
interface ITfsTeamProjectCollectionObject
end
public class TestManagementService implements ITestManagementService, ITfsTeamProjectCollectionObject
The TestManagementService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
TestManagementService | Initializes a new instance of the TestManagementService class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AuthorizedIdentity | Gets the identity of the current authorized user. |
![]() |
DataCollectors | Gets a helper object that has methods to create, query, register, unregister, and update the diagnostic data adapters on the team foundation server. |
![]() |
TestControllers | Gets a helper object that has methods to create, query, register, unregister, and update the test controllers on the team foundation server. |
![]() |
TfsIdentityStore |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
FindTestResultByLink | Finds and returns a test result and a test result attachment, if any, by using the provided uniform resource identifier (URI). |
![]() |
FindTestRunByTmiRunId | Finds and returns a test result by using the provided identifier for the Test Management Interface (TMI) run. |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetTeamProject(Project) | Returns the team project that corresponds to the provided work item tracking project. |
![]() |
GetTeamProject(String) | Returns the team project that has the provided project name. |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Initialize | Called by the test framework to connect an instance of this class to the server. |
![]() |
IsSupported | Returns a value that indicates whether the current server supports test management services. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
QueryTestRuns | Returns a list of test runs that is found by executing the provided query. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Applications can obtain an instance of this service by using the TeamFoundationServer.GetService method.
Examples
This example shows how to get an instance of the TestManagementService.
TeamFoundationServer tfs;
TestManagementService testManagementService;
tfs = new TeamFoundationServer("http://mserver:8080/tfs");
testManagementService = tfs.GetService<ITestManagementService>;
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.