Partager via


GitHttpClient.GetBranchStatisticsAsync Method

Namespace:  Microsoft.TeamFoundation.SourceControl.WebApi
Assembly:  Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)

Syntax

'Declaration
Public Function GetBranchStatisticsAsync ( _
    repositoryId As String, _
    branchName As String, _
    projectId As String, _
    userState As Object _
) As Task(Of GitBranchStats)
public Task<GitBranchStats> GetBranchStatisticsAsync(
    string repositoryId,
    string branchName,
    string projectId,
    Object userState
)
public:
Task<GitBranchStats^>^ GetBranchStatisticsAsync(
    String^ repositoryId, 
    String^ branchName, 
    String^ projectId, 
    Object^ userState
)
member GetBranchStatisticsAsync : 
        repositoryId:string * 
        branchName:string * 
        projectId:string * 
        userState:Object -> Task<GitBranchStats> 
public function GetBranchStatisticsAsync(
    repositoryId : String, 
    branchName : String, 
    projectId : String, 
    userState : Object
) : Task<GitBranchStats>

Parameters

Return Value

Type: System.Threading.Tasks.Task<GitBranchStats>

.NET Framework Security

See Also

Reference

GitHttpClient Class

Microsoft.TeamFoundation.SourceControl.WebApi Namespace