Edit

Share via


TfvcHttpClientBase.GetTfvcStatisticsAsync Method

Definition

Overloads

GetTfvcStatisticsAsync(String, Object, CancellationToken)

[Preview API] Provides File Count and Uncompressed Bytes for a Collection/Project at a particular scope for TFVC.

GetTfvcStatisticsAsync(Guid, String, Object, CancellationToken)

[Preview API] Provides File Count and Uncompressed Bytes for a Collection/Project at a particular scope for TFVC.

GetTfvcStatisticsAsync(String, String, Object, CancellationToken)

[Preview API] Provides File Count and Uncompressed Bytes for a Collection/Project at a particular scope for TFVC.

GetTfvcStatisticsAsync(String, Object, CancellationToken)

[Preview API] Provides File Count and Uncompressed Bytes for a Collection/Project at a particular scope for TFVC.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcStatistics> GetTfvcStatisticsAsync(string scopePath = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTfvcStatisticsAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcStatistics>
override this.GetTfvcStatisticsAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcStatistics>

Parameters

scopePath
String

'$/' for collection, '$/project' for specific project

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetTfvcStatisticsAsync(Guid, String, Object, CancellationToken)

[Preview API] Provides File Count and Uncompressed Bytes for a Collection/Project at a particular scope for TFVC.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcStatistics> GetTfvcStatisticsAsync(Guid project, string scopePath = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTfvcStatisticsAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcStatistics>
override this.GetTfvcStatisticsAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcStatistics>

Parameters

project
Guid

Project ID

scopePath
String

'$/' for collection, '$/project' for specific project

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetTfvcStatisticsAsync(String, String, Object, CancellationToken)

[Preview API] Provides File Count and Uncompressed Bytes for a Collection/Project at a particular scope for TFVC.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcStatistics> GetTfvcStatisticsAsync(string project, string scopePath = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTfvcStatisticsAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcStatistics>
override this.GetTfvcStatisticsAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcStatistics>

Parameters

project
String

Project ID or project name

scopePath
String

'$/' for collection, '$/project' for specific project

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to