Partager via


Query.BeginRegularQuery Method (AsyncCallback)

Initializes a query of WorkItem IDs 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 BeginRegularQuery ( _
    callback As AsyncCallback _
) As ICancelableAsyncResult
public ICancelableAsyncResult BeginRegularQuery(
    AsyncCallback callback
)
public:
ICancelableAsyncResult^ BeginRegularQuery(
    AsyncCallback^ callback
)
member BeginRegularQuery : 
        callback:AsyncCallback -> ICancelableAsyncResult
public function BeginRegularQuery(
    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.RunRegularQuery() to execute the query.

.NET Framework Security

See Also

Reference

Query Class

BeginRegularQuery Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace