This documentation is archived and is not being maintained.
WorkItemStore.QueryCount Method (String, IDictionary)
Visual Studio 2013
Gets the number of items that would be returned if the query was executed.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Parameters
- wiql
- Type: System.String
The query to execute.
- context
- Type: System.Collections.IDictionary
The parameters for the work item query.
| Exception | Condition |
|---|---|
| ArgumentNullException | The wiql is null. |
- 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.
Show: