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
'Declaration
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.WorkItemStoreThe WorkItemStore to query.
wiql
Type: System.StringThe 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.