Freigeben über


GitHttpClientBase.GetPullRequestAsync-Methode (Guid, Guid, Int32, Nullable<Int32>, 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 GetPullRequestAsync ( _
    project As Guid, _
    repositoryId As Guid, _
    pullRequestId As Integer, _
    maxCommentLength As Nullable(Of Integer), _
    skip As Nullable(Of Integer), _
    top As Nullable(Of Integer), _
    userState As Object, _
    cancellationToken As CancellationToken _
) As Task(Of GitPullRequest)
public virtual Task<GitPullRequest> GetPullRequestAsync(
    Guid project,
    Guid repositoryId,
    int pullRequestId,
    Nullable<int> maxCommentLength,
    Nullable<int> skip,
    Nullable<int> top,
    Object userState,
    CancellationToken cancellationToken
)

Parameter

Rückgabewert

Typ: System.Threading.Tasks.Task<GitPullRequest>

.NET Framework-Sicherheit

Siehe auch

Referenz

GitHttpClientBase Klasse

GetPullRequestAsync-Überladung

Microsoft.TeamFoundation.SourceControl.WebApi-Namespace