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.
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Thetype exposes the following members.
|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.|
|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 a hash function for a particular type. (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.)|
Applications can obtain an instance of this service by using the TeamFoundationServer.GetService method.
This example shows how to get an instance of the .
TeamFoundationServer tfs; TestManagementService testManagementService; tfs = new TeamFoundationServer("http://mserver:8080/tfs"); testManagementService = tfs.GetService<ITestManagementService>;