Partager via


Query.EndLinkQuery Method

Finalizes a cancelable asynchronous query that will return an array of WorkItemLinkInfo objects.

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

Syntax

'Declaration
Public Function EndLinkQuery ( _
    car As ICancelableAsyncResult _
) As WorkItemLinkInfo()
public WorkItemLinkInfo[] EndLinkQuery(
    ICancelableAsyncResult car
)
public:
array<WorkItemLinkInfo>^ EndLinkQuery(
    ICancelableAsyncResult^ car
)
member EndLinkQuery : 
        car:ICancelableAsyncResult -> WorkItemLinkInfo[] 
public function EndLinkQuery(
    car : ICancelableAsyncResult
) : WorkItemLinkInfo[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkInfo[]
An array of WorkItemLinkInfo objects.

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 BeginLinkQuery. Use the correct query end method.

.NET Framework Security

See Also

Reference

Query Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace