Share via


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

  • dayPrecision
    Type: System.Boolean

    True 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

See Also

Reference

Query Class

Query Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace