Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Gets the set of fields that is referred to in Wiql for the work items that are specified by the ID/revision pairs in batchReadParams.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function Query ( _
batchReadParams As BatchReadParameterCollection, _
wiql As String _
) As WorkItemCollection
public WorkItemCollection Query(
BatchReadParameterCollection batchReadParams,
string wiql
)
public:
WorkItemCollection^ Query(
BatchReadParameterCollection^ batchReadParams,
String^ wiql
)
member Query :
batchReadParams:BatchReadParameterCollection *
wiql:string -> WorkItemCollection
public function Query(
batchReadParams : BatchReadParameterCollection,
wiql : String
) : WorkItemCollection
Parameters
batchReadParams
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.BatchReadParameterCollectionA collection of ID/revision pairs.
wiql
Type: System.StringThe definition of fields to return.
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemCollection
A collection of work items that result from the query.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | At least one parameter is null. |
| ArgumentException | The batchReadParams list is empty. |
.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.