Поделиться через


Query.EndRegularQuery Method

Finalizes a cancelable asynchronous query that will return an array of WorkItem IDs that resulted from the query.

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

Syntax

'Декларация
Public Function EndRegularQuery ( _
    car As ICancelableAsyncResult _
) As Integer()
public int[] EndRegularQuery(
    ICancelableAsyncResult car
)
public:
array<int>^ EndRegularQuery(
    ICancelableAsyncResult^ car
)
member EndRegularQuery : 
        car:ICancelableAsyncResult -> int[] 
public function EndRegularQuery(
    car : ICancelableAsyncResult
) : int[]

Parameters

Return Value

Type: array<System.Int32[]
An array of WorkItem IDs that resulted from the query.

Exceptions

Exception Condition
ArgumentNullException

The car parameter is null.

UnexpectedErrorException

The ICancelableAsyncResult object that is passed in the car parameter was not created by using BeginRegularQuery. Use the correct query end method.

.NET Framework Security

See Also

Reference

Query Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace