Query.BeginLinkQuery Method (AsyncCallback)
Initializes a cancelable asynchronous query that will return a collection of WorkItemLinkInfo objects 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 BeginLinkQuery ( _
callback As AsyncCallback _
) As ICancelableAsyncResult
public ICancelableAsyncResult BeginLinkQuery(
AsyncCallback callback
)
public:
ICancelableAsyncResult^ BeginLinkQuery(
AsyncCallback^ callback
)
member BeginLinkQuery :
callback:AsyncCallback -> ICancelableAsyncResult
public function BeginLinkQuery(
callback : AsyncCallback
) : ICancelableAsyncResult
Parameters
callback
Type: System.AsyncCallbackThe function to call when this method has completed.
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.RunLinkQuery() to execute the query.
.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.