GitHttpClient.GetPullRequestCommitsPagedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetPullRequestCommitsPagedAsync(Guid, Guid, Int32, Nullable<Int32>, String, Object, CancellationToken) |
[Preview API] Get the commits for the specified pull request. |
| GetPullRequestCommitsPagedAsync(Guid, String, Int32, Nullable<Int32>, String, Object, CancellationToken) |
[Preview API] Get the commits for the specified pull request. |
| GetPullRequestCommitsPagedAsync(String, Guid, Int32, Nullable<Int32>, String, Object, CancellationToken) |
[Preview API] Get the commits for the specified pull request. |
| GetPullRequestCommitsPagedAsync(String, String, Int32, Nullable<Int32>, String, Object, CancellationToken) |
[Preview API] Get the commits for the specified pull request. |
GetPullRequestCommitsPagedAsync(Guid, Guid, Int32, Nullable<Int32>, String, Object, CancellationToken)
[Preview API] Get the commits for the specified pull request.
public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>> GetPullRequestCommitsPagedAsync(Guid project, Guid repositoryId, int pullRequestId, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestCommitsPagedAsync : Guid * Guid * int * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
override this.GetPullRequestCommitsPagedAsync : Guid * Guid * int * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
Parameters
- project
- Guid
- repositoryId
- Guid
- pullRequestId
- Int32
- continuationToken
- String
- userState
- Object
- cancellationToken
- CancellationToken
Returns
Applies to
GetPullRequestCommitsPagedAsync(Guid, String, Int32, Nullable<Int32>, String, Object, CancellationToken)
[Preview API] Get the commits for the specified pull request.
public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>> GetPullRequestCommitsPagedAsync(Guid project, string repositoryId, int pullRequestId, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestCommitsPagedAsync : Guid * string * int * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
override this.GetPullRequestCommitsPagedAsync : Guid * string * int * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
Parameters
- project
- Guid
- repositoryId
- String
- pullRequestId
- Int32
- continuationToken
- String
- userState
- Object
- cancellationToken
- CancellationToken
Returns
Applies to
GetPullRequestCommitsPagedAsync(String, Guid, Int32, Nullable<Int32>, String, Object, CancellationToken)
[Preview API] Get the commits for the specified pull request.
public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>> GetPullRequestCommitsPagedAsync(string project, Guid repositoryId, int pullRequestId, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestCommitsPagedAsync : string * Guid * int * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
override this.GetPullRequestCommitsPagedAsync : string * Guid * int * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
Parameters
- project
- String
- repositoryId
- Guid
- pullRequestId
- Int32
- continuationToken
- String
- userState
- Object
- cancellationToken
- CancellationToken
Returns
Applies to
GetPullRequestCommitsPagedAsync(String, String, Int32, Nullable<Int32>, String, Object, CancellationToken)
[Preview API] Get the commits for the specified pull request.
public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>> GetPullRequestCommitsPagedAsync(string project, string repositoryId, int pullRequestId, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestCommitsPagedAsync : string * string * int * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
override this.GetPullRequestCommitsPagedAsync : string * string * int * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
Parameters
- project
- String
- repositoryId
- String
- pullRequestId
- Int32
- continuationToken
- String
- userState
- Object
- cancellationToken
- CancellationToken