Query Constructor (WorkItemStore, String, IDictionary)
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
声明
Public Sub New ( _
store As WorkItemStore, _
wiql As String, _
context As IDictionary _
)
public Query(
WorkItemStore store,
string wiql,
IDictionary context
)
public:
Query(
WorkItemStore^ store,
String^ wiql,
IDictionary^ context
)
new :
store:WorkItemStore *
wiql:string *
context:IDictionary -> Query
public function Query(
store : WorkItemStore,
wiql : String,
context : IDictionary
)
Parameters
- store
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore
The WorkItemStore to query.
- wiql
Type: System.String
The query string to execute.
- context
Type: System.Collections.IDictionary
A dictionary of macros and values.
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.