Edit

Share via


GitHttpClientBase.GetPullRequestIterationCommitsAsync Method

Definition

Overloads

GetPullRequestIterationCommitsAsync(String, String, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

GetPullRequestIterationCommitsAsync(Guid, String, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

GetPullRequestIterationCommitsAsync(String, Guid, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

GetPullRequestIterationCommitsAsync(String, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

GetPullRequestIterationCommitsAsync(Guid, Guid, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

GetPullRequestIterationCommitsAsync(Guid, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

GetPullRequestIterationCommitsAsync(String, String, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>> GetPullRequestIterationCommitsAsync(string project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationCommitsAsync : string * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
override this.GetPullRequestIterationCommitsAsync : string * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>

Parameters

project
String

Project ID or project name

repositoryId
String

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

iterationId
Int32

ID of the iteration from which to get the commits.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestIterationCommitsAsync(Guid, String, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>> GetPullRequestIterationCommitsAsync(Guid project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationCommitsAsync : Guid * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
override this.GetPullRequestIterationCommitsAsync : Guid * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>

Parameters

project
Guid

Project ID

repositoryId
String

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

iterationId
Int32

ID of the iteration from which to get the commits.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestIterationCommitsAsync(String, Guid, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>> GetPullRequestIterationCommitsAsync(string project, Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationCommitsAsync : string * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
override this.GetPullRequestIterationCommitsAsync : string * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>

Parameters

project
String

Project ID or project name

repositoryId
Guid

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

iterationId
Int32

ID of the iteration from which to get the commits.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestIterationCommitsAsync(String, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>> GetPullRequestIterationCommitsAsync(string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationCommitsAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
override this.GetPullRequestIterationCommitsAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>

Parameters

repositoryId
String

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

iterationId
Int32

ID of the iteration from which to get the commits.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestIterationCommitsAsync(Guid, Guid, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>> GetPullRequestIterationCommitsAsync(Guid project, Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationCommitsAsync : Guid * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
override this.GetPullRequestIterationCommitsAsync : Guid * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>

Parameters

project
Guid

Project ID

repositoryId
Guid

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

iterationId
Int32

ID of the iteration from which to get the commits.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestIterationCommitsAsync(Guid, Int32, Int32, Object, CancellationToken)

[Preview API] Get the commits for the specified iteration of a pull request.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>> GetPullRequestIterationCommitsAsync(Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationCommitsAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>
override this.GetPullRequestIterationCommitsAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef>>

Parameters

repositoryId
Guid

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

iterationId
Int32

ID of the iteration from which to get the commits.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to