Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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, _
batchReadParameters As BatchReadParameterCollection _
)
public Query(
WorkItemStore store,
string wiql,
BatchReadParameterCollection batchReadParameters
)
public:
Query(
WorkItemStore^ store,
String^ wiql,
BatchReadParameterCollection^ batchReadParameters
)
new :
store:WorkItemStore *
wiql:string *
batchReadParameters:BatchReadParameterCollection -> Query
public function Query(
store : WorkItemStore,
wiql : String,
batchReadParameters : BatchReadParameterCollection
)
Parameters
- store
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore
The WorkItemStore to query.
- wiql
Type: System.String
The query string to execute.
- batchReadParameters
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.BatchReadParameterCollection
A collection of WorkItem ID and revision pairs.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | At least one parameter is null. |
| ArgumentException | The work item ID and revision arrays in batchReadParameters do not have equal lengths. |
| DuplicateBatchReadParameterException | At least one work item ID occurs more than one time in the array in the batchReadParameters 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.