GitHttpClientBase.CreateCherryPickAsync 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
| CreateCherryPickAsync(GitAsyncRefOperationParameters, Guid, Guid, Object, CancellationToken) |
[Preview API] Cherry pick a specific commit or commits that are associated to a pull request into a new branch. |
| CreateCherryPickAsync(GitAsyncRefOperationParameters, Guid, String, Object, CancellationToken) |
[Preview API] Cherry pick a specific commit or commits that are associated to a pull request into a new branch. |
| CreateCherryPickAsync(GitAsyncRefOperationParameters, String, Guid, Object, CancellationToken) |
[Preview API] Cherry pick a specific commit or commits that are associated to a pull request into a new branch. |
| CreateCherryPickAsync(GitAsyncRefOperationParameters, String, String, Object, CancellationToken) |
[Preview API] Cherry pick a specific commit or commits that are associated to a pull request into a new branch. |
CreateCherryPickAsync(GitAsyncRefOperationParameters, Guid, Guid, Object, CancellationToken)
[Preview API] Cherry pick a specific commit or commits that are associated to a pull request into a new branch.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick> CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, Guid project, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateCherryPickAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters * Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
override this.CreateCherryPickAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters * Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
Parameters
- cherryPickToCreate
- GitAsyncRefOperationParameters
- project
- Guid
Project ID
- repositoryId
- Guid
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
CreateCherryPickAsync(GitAsyncRefOperationParameters, Guid, String, Object, CancellationToken)
[Preview API] Cherry pick a specific commit or commits that are associated to a pull request into a new branch.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick> CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateCherryPickAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
override this.CreateCherryPickAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
Parameters
- cherryPickToCreate
- GitAsyncRefOperationParameters
- project
- Guid
Project ID
- repositoryId
- String
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
CreateCherryPickAsync(GitAsyncRefOperationParameters, String, Guid, Object, CancellationToken)
[Preview API] Cherry pick a specific commit or commits that are associated to a pull request into a new branch.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick> CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, string project, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateCherryPickAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters * string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
override this.CreateCherryPickAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters * string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
Parameters
- cherryPickToCreate
- GitAsyncRefOperationParameters
- 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
CreateCherryPickAsync(GitAsyncRefOperationParameters, String, String, Object, CancellationToken)
[Preview API] Cherry pick a specific commit or commits that are associated to a pull request into a new branch.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick> CreateCherryPickAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters cherryPickToCreate, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateCherryPickAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
override this.CreateCherryPickAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitAsyncRefOperationParameters * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
Parameters
- cherryPickToCreate
- GitAsyncRefOperationParameters
- project
- String
Project ID or project name
- repositoryId
- String
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.