Query Constructor (WorkItemStore, String, array<Int32[], array<Int32 )

Initializes a new instance of the Query class.

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

Syntax

'Declaration
Public Sub New ( _
    store As WorkItemStore, _
    wiql As String, _
    ids As Integer(), _
    revs As Integer() _
)
public Query(
    WorkItemStore store,
    string wiql,
    int[] ids,
    int[] revs
)
public:
Query(
    WorkItemStore^ store, 
    String^ wiql, 
    array<int>^ ids, 
    array<int>^ revs
)
new : 
        store:WorkItemStore * 
        wiql:string * 
        ids:int[] * 
        revs:int[] -> Query
public function Query(
    store : WorkItemStore, 
    wiql : String, 
    ids : int[], 
    revs : int[]
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

At least one parameter is null.

ArgumentException

The ids and revs parameters do not have equal lengths.

DuplicateBatchReadParameterException

At least one work item ID occurs more than one time in the ids parameter.

.NET Framework Security

See Also

Reference

Query Class

Query Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace