Query Constructor (WorkItemStore, String, IDictionary, Boolean)
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, _
context As IDictionary, _
dayPrecision As Boolean _
)
public Query(
WorkItemStore store,
string wiql,
IDictionary context,
bool dayPrecision
)
public:
Query(
WorkItemStore^ store,
String^ wiql,
IDictionary^ context,
bool dayPrecision
)
new :
store:WorkItemStore *
wiql:string *
context:IDictionary *
dayPrecision:bool -> Query
public function Query(
store : WorkItemStore,
wiql : String,
context : IDictionary,
dayPrecision : boolean
)
Parameters
store
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStoreThe WorkItemStore to query.
wiql
Type: System.StringThe query string to execute.
context
Type: System.Collections.IDictionaryA dictionary of macros and values.
dayPrecision
Type: System.BooleanTrue to ignore time values so that DateTime objects are treated as dates; otherwise, false.
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.