Language
Edit

GitHttpClientBase.DeletePullRequestStatusAsync Method

Definition

Overloads

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

[Preview API] Delete pull request status.

public virtual System.Threading.Tasks.Task DeletePullRequestStatusAsync(string project, Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestStatusAsync : string * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestStatusAsync : string * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

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.

statusId
Int32

ID of the pull request status.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeletePullRequestStatusAsync(Guid, Int32, Int32, Object, CancellationToken)

[Preview API] Delete pull request status.

public virtual System.Threading.Tasks.Task DeletePullRequestStatusAsync(Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestStatusAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestStatusAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

repositoryId
Guid

The repository ID of the pull request’s target branch.

pullRequestId
Int32

ID of the pull request.

statusId
Int32

ID of the pull request status.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeletePullRequestStatusAsync(String, Int32, Int32, Object, CancellationToken)

[Preview API] Delete pull request status.

public virtual System.Threading.Tasks.Task DeletePullRequestStatusAsync(string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestStatusAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestStatusAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

repositoryId
String

The repository ID of the pull request’s target branch.

pullRequestId
Int32

ID of the pull request.

statusId
Int32

ID of the pull request status.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeletePullRequestStatusAsync(Guid, Guid, Int32, Int32, Object, CancellationToken)

[Preview API] Delete pull request status.

public virtual System.Threading.Tasks.Task DeletePullRequestStatusAsync(Guid project, Guid repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestStatusAsync : Guid * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestStatusAsync : Guid * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
Guid

Project ID

repositoryId
Guid

The repository ID of the pull request’s target branch.

pullRequestId
Int32

ID of the pull request.

statusId
Int32

ID of the pull request status.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Delete pull request status.

public virtual System.Threading.Tasks.Task DeletePullRequestStatusAsync(Guid project, string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestStatusAsync : Guid * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestStatusAsync : Guid * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
Guid

Project ID

repositoryId
String

The repository ID of the pull request’s target branch.

pullRequestId
Int32

ID of the pull request.

statusId
Int32

ID of the pull request status.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeletePullRequestStatusAsync(String, String, Int32, Int32, Object, CancellationToken)

[Preview API] Delete pull request status.

public virtual System.Threading.Tasks.Task DeletePullRequestStatusAsync(string project, string repositoryId, int pullRequestId, int statusId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestStatusAsync : string * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestStatusAsync : string * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

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.

statusId
Int32

ID of the pull request status.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to