GitHttpClientBase.GetPullRequestIterationStatusAsync 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
| GetPullRequestIterationStatusAsync(Guid, Int32, Int32, Int32, Object, CancellationToken) |
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations. |
| GetPullRequestIterationStatusAsync(String, Int32, Int32, Int32, Object, CancellationToken) |
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations. |
| GetPullRequestIterationStatusAsync(Guid, Guid, Int32, Int32, Int32, Object, CancellationToken) |
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations. |
| GetPullRequestIterationStatusAsync(Guid, String, Int32, Int32, Int32, Object, CancellationToken) |
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations. |
| GetPullRequestIterationStatusAsync(String, Guid, Int32, Int32, Int32, Object, CancellationToken) |
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations. |
| GetPullRequestIterationStatusAsync(String, String, Int32, Int32, Int32, Object, CancellationToken) |
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations. |
GetPullRequestIterationStatusAsync(Guid, Int32, Int32, Int32, Object, CancellationToken)
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus> GetPullRequestIterationStatusAsync(Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationStatusAsync : Guid * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
override this.GetPullRequestIterationStatusAsync : Guid * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
Parameters
- repositoryId
- Guid
The repository ID of the pull request’s target branch.
- pullRequestId
- Int32
ID of the pull request.
- iterationId
- Int32
ID of the pull request iteration.
- statusId
- Int32
ID of the pull request status.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestIterationStatusAsync(String, Int32, Int32, Int32, Object, CancellationToken)
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus> GetPullRequestIterationStatusAsync(string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationStatusAsync : string * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
override this.GetPullRequestIterationStatusAsync : string * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
Parameters
- repositoryId
- String
The repository ID of the pull request’s target branch.
- pullRequestId
- Int32
ID of the pull request.
- iterationId
- Int32
ID of the pull request iteration.
- statusId
- Int32
ID of the pull request status.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestIterationStatusAsync(Guid, Guid, Int32, Int32, Int32, Object, CancellationToken)
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus> GetPullRequestIterationStatusAsync(Guid project, Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationStatusAsync : Guid * Guid * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
override this.GetPullRequestIterationStatusAsync : Guid * Guid * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
Parameters
- project
- Guid
Project ID
- repositoryId
- Guid
The repository ID of the pull request’s target branch.
- pullRequestId
- Int32
ID of the pull request.
- iterationId
- Int32
ID of the pull request iteration.
- statusId
- Int32
ID of the pull request status.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestIterationStatusAsync(Guid, String, Int32, Int32, Int32, Object, CancellationToken)
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus> GetPullRequestIterationStatusAsync(Guid project, string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationStatusAsync : Guid * string * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
override this.GetPullRequestIterationStatusAsync : Guid * string * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
Parameters
- project
- Guid
Project ID
- repositoryId
- String
The repository ID of the pull request’s target branch.
- pullRequestId
- Int32
ID of the pull request.
- iterationId
- Int32
ID of the pull request iteration.
- statusId
- Int32
ID of the pull request status.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestIterationStatusAsync(String, Guid, Int32, Int32, Int32, Object, CancellationToken)
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus> GetPullRequestIterationStatusAsync(string project, Guid repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationStatusAsync : string * Guid * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
override this.GetPullRequestIterationStatusAsync : string * Guid * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
Parameters
- project
- String
Project ID or project name
- repositoryId
- Guid
The repository ID of the pull request’s target branch.
- pullRequestId
- Int32
ID of the pull request.
- iterationId
- Int32
ID of the pull request iteration.
- statusId
- Int32
ID of the pull request status.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestIterationStatusAsync(String, String, Int32, Int32, Int32, Object, CancellationToken)
[Preview API] Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus> GetPullRequestIterationStatusAsync(string project, string repositoryId, int pullRequestId, int iterationId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestIterationStatusAsync : string * string * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
override this.GetPullRequestIterationStatusAsync : string * string * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestStatus>
Parameters
- project
- String
Project ID or project name
- repositoryId
- String
The repository ID of the pull request’s target branch.
- pullRequestId
- Int32
ID of the pull request.
- iterationId
- Int32
ID of the pull request iteration.
- statusId
- Int32
ID of the pull request status.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.