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
- repositoryId
Type: System.String
- branchName
Type: System.String
- projectId
Type: System.String
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<GitBranchStats>
.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.