GitHttpClientBase.GetBranchStatsBatchAsync 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
GetBranchStatsBatchAsync(GitQueryBranchStatsCriteria, String, String, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
override this.GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
Parameters
- searchCriteria
- GitQueryBranchStatsCriteria
- project
- String
Project ID or project name
- repositoryId
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBranchStatsBatchAsync(GitQueryBranchStatsCriteria, String, Guid, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, string project, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
override this.GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
Parameters
- searchCriteria
- GitQueryBranchStatsCriteria
- project
- String
Project ID or project name
- repositoryId
- Guid
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBranchStatsBatchAsync(GitQueryBranchStatsCriteria, Guid, String, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
override this.GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
Parameters
- searchCriteria
- GitQueryBranchStatsCriteria
- project
- Guid
Project ID
- repositoryId
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBranchStatsBatchAsync(GitQueryBranchStatsCriteria, String, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
override this.GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
Parameters
- searchCriteria
- GitQueryBranchStatsCriteria
- repositoryId
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBranchStatsBatchAsync(GitQueryBranchStatsCriteria, Guid, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
override this.GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
Parameters
- searchCriteria
- GitQueryBranchStatsCriteria
- repositoryId
- Guid
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetBranchStatsBatchAsync(GitQueryBranchStatsCriteria, Guid, Guid, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>> GetBranchStatsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria searchCriteria, Guid project, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
override this.GetBranchStatsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryBranchStatsCriteria * Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitBranchStats>>
Parameters
- searchCriteria
- GitQueryBranchStatsCriteria
- project
- Guid
Project ID
- repositoryId
- Guid
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.