WorkItemTrackingHttpClientCompatBase.GetQueryResultCountAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetQueryResultCountAsync(Guid, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Gets the results of the query given the query ID. |
GetQueryResultCountAsync(TeamContext, Guid, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Gets the results of the query given the query ID. |
GetQueryResultCountAsync(Guid, Guid, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Gets the results of the query given the query ID. |
GetQueryResultCountAsync(String, Guid, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Gets the results of the query given the query ID. |
GetQueryResultCountAsync(Guid, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Gets the results of the query given the query ID.
public virtual System.Threading.Tasks.Task<int> GetQueryResultCountAsync (Guid id, Nullable<bool> timePrecision = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetQueryResultCountAsync : Guid * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
override this.GetQueryResultCountAsync : Guid * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Parameters
- id
- Guid
The query ID.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetQueryResultCountAsync(TeamContext, Guid, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Gets the results of the query given the query ID.
public virtual System.Threading.Tasks.Task<int> GetQueryResultCountAsync (Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, Guid id, Nullable<bool> timePrecision = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetQueryResultCountAsync : Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * Guid * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
override this.GetQueryResultCountAsync : Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * Guid * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Parameters
- teamContext
- TeamContext
The team context for the operation
- id
- Guid
The query ID.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetQueryResultCountAsync(Guid, Guid, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Gets the results of the query given the query ID.
public virtual System.Threading.Tasks.Task<int> GetQueryResultCountAsync (Guid project, Guid id, Nullable<bool> timePrecision = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetQueryResultCountAsync : Guid * Guid * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
override this.GetQueryResultCountAsync : Guid * Guid * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Parameters
- project
- Guid
Project ID
- id
- Guid
The query ID.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetQueryResultCountAsync(String, Guid, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Gets the results of the query given the query ID.
public virtual System.Threading.Tasks.Task<int> GetQueryResultCountAsync (string project, Guid id, Nullable<bool> timePrecision = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetQueryResultCountAsync : string * Guid * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
override this.GetQueryResultCountAsync : string * Guid * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Parameters
- project
- String
Project ID or project name
- id
- Guid
The query ID.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for