The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ITestManagementTeamProject::CreateFromWorkItem Method (WorkItem^)
Returns an object that is derived from the ITestBase interface that can be used in this project.
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Parameters
- workItem
-
Type:
Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItem^
A WorkItem object.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client::ITestBase^A derived test base object.
| Exception | Condition |
|---|---|
| T:System.ArgumentInvalidException | The work item type is unknown. |
Show: