GitHttpClient.GetCommitDifferencesAsync Method
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Function GetCommitDifferencesAsync ( _
repositoryId As String, _
projectId As String, _
baseVersion As GitVersionDescriptor, _
targetVersion As GitVersionDescriptor, _
top As Nullable(Of Integer), _
skip As Nullable(Of Integer), _
userState As Object _
) As Task(Of GitCommitDiffs)
public Task<GitCommitDiffs> GetCommitDifferencesAsync(
string repositoryId,
string projectId,
GitVersionDescriptor baseVersion,
GitVersionDescriptor targetVersion,
Nullable<int> top,
Nullable<int> skip,
Object userState
)
public:
Task<GitCommitDiffs^>^ GetCommitDifferencesAsync(
String^ repositoryId,
String^ projectId,
GitVersionDescriptor^ baseVersion,
GitVersionDescriptor^ targetVersion,
Nullable<int> top,
Nullable<int> skip,
Object^ userState
)
member GetCommitDifferencesAsync :
repositoryId:string *
projectId:string *
baseVersion:GitVersionDescriptor *
targetVersion:GitVersionDescriptor *
top:Nullable<int> *
skip:Nullable<int> *
userState:Object -> Task<GitCommitDiffs>
public function GetCommitDifferencesAsync(
repositoryId : String,
projectId : String,
baseVersion : GitVersionDescriptor,
targetVersion : GitVersionDescriptor,
top : Nullable<int>,
skip : Nullable<int>,
userState : Object
) : Task<GitCommitDiffs>
Parameters
- repositoryId
Type: System.String
- projectId
Type: System.String
- baseVersion
Type: Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor
- targetVersion
Type: Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor
- top
Type: System.Nullable<Int32>
- skip
Type: System.Nullable<Int32>
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<GitCommitDiffs>
.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.