Query Constructor (WorkItemStore, String)
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
'Declaração
Public Sub New ( _
store As WorkItemStore, _
wiql As String _
)
public Query(
WorkItemStore store,
string wiql
)
public:
Query(
WorkItemStore^ store,
String^ wiql
)
new :
store:WorkItemStore *
wiql:string -> Query
public function Query(
store : WorkItemStore,
wiql : String
)
Parameters
- store
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore
The WorkItemStore to query.
- wiql
Type: System.String
The query to execute.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | At least one 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.