Query.BeginQuery Method
Initializes a cancelable asynchronous query of WorkItem objects.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function BeginQuery As ICancelableAsyncResult
public ICancelableAsyncResult BeginQuery()
public:
ICancelableAsyncResult^ BeginQuery()
member BeginQuery : unit -> ICancelableAsyncResult
public function BeginQuery() : ICancelableAsyncResult
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.RunQuery() 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.