Edit

Share via


GitHttpClientBase.GetPullRequestReviewersAsync Method

Definition

Overloads

GetPullRequestReviewersAsync(Guid, Int32, Object, CancellationToken)

[Preview API] Retrieve the reviewers for a pull request

GetPullRequestReviewersAsync(String, Int32, Object, CancellationToken)

[Preview API] Retrieve the reviewers for a pull request

GetPullRequestReviewersAsync(Guid, Guid, Int32, Object, CancellationToken)

[Preview API] Retrieve the reviewers for a pull request

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

[Preview API] Retrieve the reviewers for a pull request

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

[Preview API] Retrieve the reviewers for a pull request

GetPullRequestReviewersAsync(String, String, Int32, Object, CancellationToken)

[Preview API] Retrieve the reviewers for a pull request

GetPullRequestReviewersAsync(Guid, Int32, Object, CancellationToken)

[Preview API] Retrieve the reviewers for a pull request

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

Parameters

repositoryId
Guid

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

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestReviewersAsync(String, Int32, Object, CancellationToken)

[Preview API] Retrieve the reviewers for a pull request

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

Parameters

repositoryId
String

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

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestReviewersAsync(Guid, Guid, Int32, Object, CancellationToken)

[Preview API] Retrieve the reviewers for a pull request

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

Parameters

project
Guid

Project ID

repositoryId
Guid

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

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Retrieve the reviewers for a pull request

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

Parameters

project
Guid

Project ID

repositoryId
String

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

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Retrieve the reviewers for a pull request

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

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.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestReviewersAsync(String, String, Int32, Object, CancellationToken)

[Preview API] Retrieve the reviewers for a pull request

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

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.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to