GitBranchStats Constructor (GitCommitRef, String, Int32, Int32)
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Sub New ( _
commit As GitCommitRef, _
name As String, _
aheadCount As Integer, _
behindCount As Integer _
)
public GitBranchStats(
GitCommitRef commit,
string name,
int aheadCount,
int behindCount
)
public:
GitBranchStats(
GitCommitRef^ commit,
String^ name,
int aheadCount,
int behindCount
)
new :
commit:GitCommitRef *
name:string *
aheadCount:int *
behindCount:int -> GitBranchStats
public function GitBranchStats(
commit : GitCommitRef,
name : String,
aheadCount : int,
behindCount : int
)
Parameters
- name
Type: System.String
- aheadCount
Type: System.Int32
- behindCount
Type: System.Int32
.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.