Partager via


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

Return Value

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

.NET Framework Security

See Also

Reference

GitHttpClient Class

Microsoft.TeamFoundation.SourceControl.WebApi Namespace