GitHttpClientBase.GetPullRequestAsync-Methode (String, 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 ( _
repositoryId As String, _
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(
string repositoryId,
int pullRequestId,
Nullable<int> maxCommentLength,
Nullable<int> skip,
Nullable<int> top,
Object userState,
CancellationToken cancellationToken
)
Parameter
- repositoryId
Typ: System.String
- pullRequestId
Typ: System.Int32
- maxCommentLength
Typ: System.Nullable<Int32>
- 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<GitPullRequest>
.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.