Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Public Function Query ( _
wiql As String, _
context As IDictionary _
) As WorkItemCollection
public WorkItemCollection Query(
string wiql,
IDictionary context
)
public:
WorkItemCollection^ Query(
String^ wiql,
IDictionary^ context
)
member Query :
wiql:string *
context:IDictionary -> WorkItemCollection
public function Query(
wiql : String,
context : IDictionary
) : WorkItemCollection
Parameters
wiql
Type: System.StringThe work item query string.
context
Type: System.Collections.IDictionaryParameters for the work item query.
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemCollection
A collection of work items that result from the query.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The wiql parameter is null. |
.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.