GitHttpClientBase.GetCherryPickAsync 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
| Name | Description |
|---|---|
| GetCherryPickAsync(String, Int32, String, Object, CancellationToken) |
[Preview API] Retrieve information about a cherry pick by cherry pick Id. |
| GetCherryPickAsync(String, Int32, Guid, Object, CancellationToken) |
[Preview API] Retrieve information about a cherry pick by cherry pick Id. |
| GetCherryPickAsync(Guid, Int32, String, Object, CancellationToken) |
[Preview API] Retrieve information about a cherry pick by cherry pick Id. |
| GetCherryPickAsync(Guid, Int32, Guid, Object, CancellationToken) |
[Preview API] Retrieve information about a cherry pick by cherry pick Id. |
GetCherryPickAsync(String, Int32, String, Object, CancellationToken)
[Preview API] Retrieve information about a cherry pick by cherry pick Id.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick> GetCherryPickAsync(string project, int cherryPickId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetCherryPickAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
override this.GetCherryPickAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
Parameters
- project
- String
Project ID or project name
- cherryPickId
- Int32
ID of the cherry pick.
- repositoryId
- String
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetCherryPickAsync(String, Int32, Guid, Object, CancellationToken)
[Preview API] Retrieve information about a cherry pick by cherry pick Id.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick> GetCherryPickAsync(string project, int cherryPickId, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetCherryPickAsync : string * int * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
override this.GetCherryPickAsync : string * int * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
Parameters
- project
- String
Project ID or project name
- cherryPickId
- Int32
ID of the cherry pick.
- repositoryId
- Guid
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetCherryPickAsync(Guid, Int32, String, Object, CancellationToken)
[Preview API] Retrieve information about a cherry pick by cherry pick Id.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick> GetCherryPickAsync(Guid project, int cherryPickId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetCherryPickAsync : Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
override this.GetCherryPickAsync : Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
Parameters
- project
- Guid
Project ID
- cherryPickId
- Int32
ID of the cherry pick.
- repositoryId
- String
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetCherryPickAsync(Guid, Int32, Guid, Object, CancellationToken)
[Preview API] Retrieve information about a cherry pick by cherry pick Id.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick> GetCherryPickAsync(Guid project, int cherryPickId, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetCherryPickAsync : Guid * int * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
override this.GetCherryPickAsync : Guid * int * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitCherryPick>
Parameters
- project
- Guid
Project ID
- cherryPickId
- Int32
ID of the cherry pick.
- repositoryId
- Guid
ID of the repository.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.