Query Constructor (WorkItemStore, String, 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
'Declaración
Public Sub New ( _
store As WorkItemStore, _
wiql As String, _
ids As Integer() _
)
public Query(
WorkItemStore store,
string wiql,
int[] ids
)
public:
Query(
WorkItemStore^ store,
String^ wiql,
array<int>^ ids
)
new :
store:WorkItemStore *
wiql:string *
ids:int[] -> Query
public function Query(
store : WorkItemStore,
wiql : String,
ids : int[]
)
Parameters
- store
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore
The WorkItemStore to query.
- wiql
Type: System.String
The query to execute.
- ids
Type: array<System.Int32[]
An array of WorkItem IDs.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | At least one parameter is null. |
DuplicateBatchReadParameterException | At least one work item ID occurs more than one time in the ids parameter. |
.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.