GitHttpClientBase.GetCommitsBatchAsync-Methode (GitQueryCommitsCriteria, String, Guid, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Overridable Function GetCommitsBatchAsync ( _
searchCriteria As GitQueryCommitsCriteria, _
project As String, _
repositoryId As Guid, _
skip As Nullable(Of Integer), _
top As Nullable(Of Integer), _
userState As Object, _
cancellationToken As CancellationToken _
) As Task(Of List(Of GitCommitRef))
public virtual Task<List<GitCommitRef>> GetCommitsBatchAsync(
GitQueryCommitsCriteria searchCriteria,
string project,
Guid repositoryId,
Nullable<int> skip,
Nullable<int> top,
Object userState,
CancellationToken cancellationToken
)
Parameter
- searchCriteria
Typ: Microsoft.TeamFoundation.SourceControl.WebApi.GitQueryCommitsCriteria
- project
Typ: System.String
- repositoryId
Typ: System.Guid
- skip
Typ: System.Nullable<Int32>
- top
Typ: System.Nullable<Int32>
- userState
Typ: System.Object
- cancellationToken
Typ: System.Threading.CancellationToken
Rückgabewert
Typ: System.Threading.Tasks.Task<List<GitCommitRef>>
.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.