WorkItemStore.Query Method (String, IDictionary)

Executes the query that is described in wiql and the parameters that are described in context.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public WorkItemCollection Query(
	string wiql,
	IDictionary context
)

Parameters

wiql
Type: System.String

The work item query string.

context
Type: System.Collections.IDictionary

Parameters for the work item query.

Return Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemCollection
A collection of work items that result from the query.

ExceptionCondition
ArgumentNullException

The wiql parameter is null.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft