This documentation is archived and is not being maintained.
Query::EndLinkQuery Method
Visual Studio 2013
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)
Parameters
- car
- Type: Microsoft.TeamFoundation.Client::ICancelableAsyncResult
The ICancelableAsyncResult object that is returned by BeginLinkQuery.
Return Value
Type: array<Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItemLinkInfo>An array of WorkItemLinkInfo objects.
| 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. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: