Edit

Share via


GitHttpClientBase.GetPullRequestIterationsAsync Method

Definition

Overloads

GetPullRequestIterationsAsync(String, String, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

GetPullRequestIterationsAsync(String, Guid, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

GetPullRequestIterationsAsync(Guid, String, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

GetPullRequestIterationsAsync(Guid, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

GetPullRequestIterationsAsync(String, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

GetPullRequestIterationsAsync(Guid, Guid, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

GetPullRequestIterationsAsync(String, String, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

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

Parameters

project
String

Project ID or project name

repositoryId
String

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

includeCommits
Nullable<Boolean>

If true, include the commits associated with each iteration in the response.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestIterationsAsync(String, Guid, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

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

Parameters

project
String

Project ID or project name

repositoryId
Guid

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

includeCommits
Nullable<Boolean>

If true, include the commits associated with each iteration in the response.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestIterationsAsync(Guid, String, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

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

Parameters

project
Guid

Project ID

repositoryId
String

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

includeCommits
Nullable<Boolean>

If true, include the commits associated with each iteration in the response.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestIterationsAsync(Guid, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

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

Parameters

repositoryId
Guid

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

includeCommits
Nullable<Boolean>

If true, include the commits associated with each iteration in the response.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestIterationsAsync(String, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

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

Parameters

repositoryId
String

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

includeCommits
Nullable<Boolean>

If true, include the commits associated with each iteration in the response.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestIterationsAsync(Guid, Guid, Int32, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get the list of iterations for the specified pull request.

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

Parameters

project
Guid

Project ID

repositoryId
Guid

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

includeCommits
Nullable<Boolean>

If true, include the commits associated with each iteration in the response.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to