GitHttpClientBase.GetCommitAsync-Methode (String, String, String, 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 GetCommitAsync ( _
project As String, _
commitId As String, _
repositoryId As String, _
changeCount As Nullable(Of Integer), _
userState As Object, _
cancellationToken As CancellationToken _
) As Task(Of GitCommit)
public virtual Task<GitCommit> GetCommitAsync(
string project,
string commitId,
string repositoryId,
Nullable<int> changeCount,
Object userState,
CancellationToken cancellationToken
)
Parameter
- project
Typ: System.String
- commitId
Typ: System.String
- repositoryId
Typ: System.String
- changeCount
Typ: System.Nullable<Int32>
- userState
Typ: System.Object
- cancellationToken
Typ: System.Threading.CancellationToken
Rückgabewert
Typ: System.Threading.Tasks.Task<GitCommit>
.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.