InformationNodeConverters.AddOpenedWorkItems Method (IBuildDetail, array<WorkItem[])
Adds associated opened work item summaries with the specified build. Saves to the server.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Декларация
Public Shared Function AddOpenedWorkItems ( _
build As IBuildDetail, _
workItems As WorkItem() _
) As List(Of IWorkItemSummary)
public static List<IWorkItemSummary> AddOpenedWorkItems(
IBuildDetail build,
WorkItem[] workItems
)
public:
static List<IWorkItemSummary^>^ AddOpenedWorkItems(
IBuildDetail^ build,
array<WorkItem^>^ workItems
)
static member AddOpenedWorkItems :
build:IBuildDetail *
workItems:WorkItem[] -> List<IWorkItemSummary>
public static function AddOpenedWorkItems(
build : IBuildDetail,
workItems : WorkItem[]
) : List<IWorkItemSummary>
Parameters
- build
Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail
The build to which the opened work items will be added.
- workItems
Type: array<Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem[]
The opened work items to be associated with the build.
Return Value
Type: System.Collections.Generic.List<IWorkItemSummary>
The associated opened work item summaries.
.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.