Freigeben über


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)

Syntax

'Declaration
Public Function BeginQuery ( _
    callBack As AsyncCallback _
) As ICancelableAsyncResult
public ICancelableAsyncResult BeginQuery(
    AsyncCallback callBack
)
public:
ICancelableAsyncResult^ BeginQuery(
    AsyncCallback^ callBack
)
member BeginQuery : 
        callBack:AsyncCallback -> ICancelableAsyncResult 
public function BeginQuery(
    callBack : AsyncCallback
) : ICancelableAsyncResult

Parameters

Return Value

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

Remarks

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

.NET Framework Security

See Also

Reference

Query Class

BeginQuery Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace