GitHttpClientBase.UpdatePullRequestIterationStatusesAsync 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
| UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, String, String, Int32, Int32, Object, CancellationToken) |
[Preview API] Update pull request iteration statuses collection. The only supported operation type is |
| UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, String, Guid, Int32, Int32, Object, CancellationToken) |
[Preview API] Update pull request iteration statuses collection. The only supported operation type is |
| UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, Guid, String, Int32, Int32, Object, CancellationToken) |
[Preview API] Update pull request iteration statuses collection. The only supported operation type is |
| UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, String, Int32, Int32, Object, CancellationToken) |
[Preview API] Update pull request iteration statuses collection. The only supported operation type is |
| UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, Guid, Int32, Int32, Object, CancellationToken) |
[Preview API] Update pull request iteration statuses collection. The only supported operation type is |
| UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, Guid, Guid, Int32, Int32, Object, CancellationToken) |
[Preview API] Update pull request iteration statuses collection. The only supported operation type is |
UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, String, String, Int32, Int32, Object, CancellationToken)
[Preview API] Update pull request iteration statuses collection. The only supported operation type is remove.
public virtual System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * string * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * string * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- patchDocument
- Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument
Operations to apply to the pull request statuses in JSON Patch format.
- 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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, String, Guid, Int32, Int32, Object, CancellationToken)
[Preview API] Update pull request iteration statuses collection. The only supported operation type is remove.
public virtual System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string project, Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * string * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * string * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- patchDocument
- Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument
Operations to apply to the pull request statuses in JSON Patch format.
- 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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, Guid, String, Int32, Int32, Object, CancellationToken)
[Preview API] Update pull request iteration statuses collection. The only supported operation type is remove.
public virtual System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, Guid project, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * Guid * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * Guid * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- patchDocument
- Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument
Operations to apply to the pull request statuses in JSON Patch format.
- 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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, String, Int32, Int32, Object, CancellationToken)
[Preview API] Update pull request iteration statuses collection. The only supported operation type is remove.
public virtual System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, string repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- patchDocument
- Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument
Operations to apply to the pull request statuses in JSON Patch format.
- 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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, Guid, Int32, Int32, Object, CancellationToken)
[Preview API] Update pull request iteration statuses collection. The only supported operation type is remove.
public virtual System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- patchDocument
- Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument
Operations to apply to the pull request statuses in JSON Patch format.
- 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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
UpdatePullRequestIterationStatusesAsync(JsonPatchDocument, Guid, Guid, Int32, Int32, Object, CancellationToken)
[Preview API] Update pull request iteration statuses collection. The only supported operation type is remove.
public virtual System.Threading.Tasks.Task UpdatePullRequestIterationStatusesAsync(Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, Guid project, Guid repositoryId, int pullRequestId, int iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * Guid * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdatePullRequestIterationStatusesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * Guid * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- patchDocument
- Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument
Operations to apply to the pull request statuses in JSON Patch format.
- 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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.