This documentation is archived and is not being maintained.

Query::BeginQuery Method (AsyncCallback)

Initializes a cancelable asynchronous query of WorkItem objects by using a callback function.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public:
ICancelableAsyncResult^ BeginQuery(
	AsyncCallback^ callBack
)

Parameters

callBack
Type: System::AsyncCallback

The function to call when this method has completed.

Return Value

Type: Microsoft.TeamFoundation.Client::ICancelableAsyncResult
An object that represents the status of the cancelable asynchronous query.

This method should be followed by Query::RunQuery() to execute the query.

Show: