GitHttpClientBase.GetPullRequestQueryAsync 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
| GetPullRequestQueryAsync(GitPullRequestQuery, Guid, Object, CancellationToken) |
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests. |
| GetPullRequestQueryAsync(GitPullRequestQuery, String, Object, CancellationToken) |
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests. |
| GetPullRequestQueryAsync(GitPullRequestQuery, Guid, Guid, Object, CancellationToken) |
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests. |
| GetPullRequestQueryAsync(GitPullRequestQuery, Guid, String, Object, CancellationToken) |
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests. |
| GetPullRequestQueryAsync(GitPullRequestQuery, String, Guid, Object, CancellationToken) |
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests. |
| GetPullRequestQueryAsync(GitPullRequestQuery, String, String, Object, CancellationToken) |
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests. |
GetPullRequestQueryAsync(GitPullRequestQuery, Guid, Object, CancellationToken)
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery> GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
override this.GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
Parameters
- queries
- GitPullRequestQuery
The list of queries to perform.
- repositoryId
- Guid
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestQueryAsync(GitPullRequestQuery, String, Object, CancellationToken)
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery> GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
override this.GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
Parameters
- queries
- GitPullRequestQuery
The list of queries to perform.
- repositoryId
- String
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestQueryAsync(GitPullRequestQuery, Guid, Guid, Object, CancellationToken)
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery> GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, Guid project, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
override this.GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
Parameters
- queries
- GitPullRequestQuery
The list of queries to perform.
- project
- Guid
Project ID
- repositoryId
- Guid
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestQueryAsync(GitPullRequestQuery, Guid, String, Object, CancellationToken)
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery> GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
override this.GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
Parameters
- queries
- GitPullRequestQuery
The list of queries to perform.
- project
- Guid
Project ID
- repositoryId
- String
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestQueryAsync(GitPullRequestQuery, String, Guid, Object, CancellationToken)
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery> GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, string project, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
override this.GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
Parameters
- queries
- GitPullRequestQuery
The list of queries to perform.
- project
- String
Project ID or project name
- repositoryId
- Guid
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPullRequestQueryAsync(GitPullRequestQuery, String, String, Object, CancellationToken)
[Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery> GetPullRequestQueryAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery queries, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
override this.GetPullRequestQueryAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestQuery>
Parameters
- queries
- GitPullRequestQuery
The list of queries to perform.
- project
- String
Project ID or project name
- repositoryId
- String
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.