ITestManagementTeamProject.CreateFromWorkItem Method (WorkItem)
Returns an object that is derived from the ITestBase interface that can be used in this project.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
ITestBase CreateFromWorkItem(
WorkItem workItem
)
ITestBase^ CreateFromWorkItem(
WorkItem^ workItem
)
abstract CreateFromWorkItem :
workItem:WorkItem -> ITestBase
Function CreateFromWorkItem (
workItem As WorkItem
) As ITestBase
Parameters
workItem
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemA WorkItem object.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestBase
A derived test base object.
Exceptions
Exception | Condition |
---|---|
T:System.ArgumentInvalidException | The work item type is unknown. |
See Also
ITestBase
WorkItem
ITestManagementTeamProject Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top