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
'Declaração
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
- 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.
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
- 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.