Share via


Query Members

Include Protected Members
Include Inherited Members

This class encapsulates a Query against the work item store. Queries are scoped to a WorkItemStore and are described in the Work Item Query Language.

The Query type exposes the following members.

Constructors

 

Name

Description

Public method

Query

Overloaded.

Top

Methods

 

Name

Description

Public method

BeginCountOnlyQuery

Overloaded. Runs a Query where only the number of results is returned, not the actual result values.

Public method

BeginQuery

Overloaded. Runs a Query and returns a cancelable asynchronous result.

Public method

EndCountOnlyQuery

Returns the result of the count-only query after completing the asynchronous call.

Public method

EndQuery

Returns the result of the Query after completing the asynchronous call.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

AsOf

Gets the UTC DateTime at which the query was last run.

Public property

AsOfUTC

Gets the UTC DateTime at which the query was last run.

Public property

DisplayFieldList

Gets the list of fields to be displayed as part of the Query result.

Public property

IsBatchReadMode

Public property

QueryString

Gets the WIQL query string for this Query.

Public property

SortFieldList

Gets the list of fields used to sort the Query results.

Public property

WorkItemStore

Gets the work item store against which to Query.

Top

Events

 

Name

Description

Public event

AsyncStateChanged

Event handler for asynchronous changes to the state of a Query.

Top

See Also

Reference

Query Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace