GitHttpClientBase.GetCommitDiffsAsync-Methode (String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, GitBaseVersionDescriptor, GitTargetVersionDescriptor, Object, CancellationToken)
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Overridable Function GetCommitDiffsAsync ( _
project As String, _
repositoryId As String, _
diffCommonCommit As Nullable(Of Boolean), _
top As Nullable(Of Integer), _
skip As Nullable(Of Integer), _
baseVersionDescriptor As GitBaseVersionDescriptor, _
targetVersionDescriptor As GitTargetVersionDescriptor, _
userState As Object, _
cancellationToken As CancellationToken _
) As Task(Of GitCommitDiffs)
public virtual Task<GitCommitDiffs> GetCommitDiffsAsync(
string project,
string repositoryId,
Nullable<bool> diffCommonCommit,
Nullable<int> top,
Nullable<int> skip,
GitBaseVersionDescriptor baseVersionDescriptor,
GitTargetVersionDescriptor targetVersionDescriptor,
Object userState,
CancellationToken cancellationToken
)
Parameter
- project
Typ: System.String
- repositoryId
Typ: System.String
- diffCommonCommit
Typ: System.Nullable<Boolean>
- top
Typ: System.Nullable<Int32>
- skip
Typ: System.Nullable<Int32>
- baseVersionDescriptor
Typ: Microsoft.TeamFoundation.SourceControl.WebApi.GitBaseVersionDescriptor
- targetVersionDescriptor
Typ: Microsoft.TeamFoundation.SourceControl.WebApi.GitTargetVersionDescriptor
- userState
Typ: System.Object
- cancellationToken
Typ: System.Threading.CancellationToken
Rückgabewert
Typ: System.Threading.Tasks.Task<GitCommitDiffs>
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.