GitHttpClientBase.GetPullRequestReviewerAsync 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
| GetPullRequestReviewerAsync(String, String, Int32, String, Object, CancellationToken) |
[Preview API] Retrieve information about a particular reviewer on a pull request |
| GetPullRequestReviewerAsync(String, Guid, Int32, String, Object, CancellationToken) |
[Preview API] Retrieve information about a particular reviewer on a pull request |
| GetPullRequestReviewerAsync(Guid, String, Int32, String, Object, CancellationToken) |
[Preview API] Retrieve information about a particular reviewer on a pull request |
| GetPullRequestReviewerAsync(String, Int32, String, Object, CancellationToken) |
[Preview API] Retrieve information about a particular reviewer on a pull request |
| GetPullRequestReviewerAsync(Guid, Guid, Int32, String, Object, CancellationToken) |
[Preview API] Retrieve information about a particular reviewer on a pull request |
| GetPullRequestReviewerAsync(Guid, Int32, String, Object, CancellationToken) |
[Preview API] Retrieve information about a particular reviewer on a pull request |
GetPullRequestReviewerAsync(String, String, Int32, String, Object, CancellationToken)
[Preview API] Retrieve information about a particular reviewer on a pull request
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote> GetPullRequestReviewerAsync(string project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestReviewerAsync : string * string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote>
override this.GetPullRequestReviewerAsync : string * string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<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.
- reviewerId
- String
ID of the reviewer.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestReviewerAsync(String, Guid, Int32, String, Object, CancellationToken)
[Preview API] Retrieve information about a particular reviewer on a pull request
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote> GetPullRequestReviewerAsync(string project, Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestReviewerAsync : string * Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote>
override this.GetPullRequestReviewerAsync : string * Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<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.
- reviewerId
- String
ID of the reviewer.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestReviewerAsync(Guid, String, Int32, String, Object, CancellationToken)
[Preview API] Retrieve information about a particular reviewer on a pull request
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote> GetPullRequestReviewerAsync(Guid project, string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestReviewerAsync : Guid * string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote>
override this.GetPullRequestReviewerAsync : Guid * string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<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.
- reviewerId
- String
ID of the reviewer.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestReviewerAsync(String, Int32, String, Object, CancellationToken)
[Preview API] Retrieve information about a particular reviewer on a pull request
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote> GetPullRequestReviewerAsync(string repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestReviewerAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote>
override this.GetPullRequestReviewerAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<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.
- reviewerId
- String
ID of the reviewer.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestReviewerAsync(Guid, Guid, Int32, String, Object, CancellationToken)
[Preview API] Retrieve information about a particular reviewer on a pull request
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote> GetPullRequestReviewerAsync(Guid project, Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestReviewerAsync : Guid * Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote>
override this.GetPullRequestReviewerAsync : Guid * Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<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.
- reviewerId
- String
ID of the reviewer.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestReviewerAsync(Guid, Int32, String, Object, CancellationToken)
[Preview API] Retrieve information about a particular reviewer on a pull request
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote> GetPullRequestReviewerAsync(Guid repositoryId, int pullRequestId, string reviewerId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestReviewerAsync : Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.IdentityRefWithVote>
override this.GetPullRequestReviewerAsync : Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<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.
- reviewerId
- String
ID of the reviewer.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.