GitHttpClientBase.GetMergeRequestAsync 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
| GetMergeRequestAsync(String, Guid, Int32, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Get a specific merge operation's details. |
| GetMergeRequestAsync(Guid, Guid, Int32, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Get a specific merge operation's details. |
| GetMergeRequestAsync(Guid, String, Int32, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Get a specific merge operation's details. |
| GetMergeRequestAsync(String, String, Int32, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Get a specific merge operation's details. |
GetMergeRequestAsync(String, Guid, Int32, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Get a specific merge operation's details.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge> GetMergeRequestAsync(string project, Guid repositoryNameOrId, int mergeOperationId, Nullable<bool> includeLinks = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetMergeRequestAsync : string * Guid * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge>
override this.GetMergeRequestAsync : string * Guid * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge>
Parameters
- project
- String
Project ID or project name
- repositoryNameOrId
- Guid
The name or ID of the repository.
- mergeOperationId
- Int32
OperationId of the merge request.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetMergeRequestAsync(Guid, Guid, Int32, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Get a specific merge operation's details.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge> GetMergeRequestAsync(Guid project, Guid repositoryNameOrId, int mergeOperationId, Nullable<bool> includeLinks = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetMergeRequestAsync : Guid * Guid * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge>
override this.GetMergeRequestAsync : Guid * Guid * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge>
Parameters
- project
- Guid
Project ID
- repositoryNameOrId
- Guid
The name or ID of the repository.
- mergeOperationId
- Int32
OperationId of the merge request.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetMergeRequestAsync(Guid, String, Int32, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Get a specific merge operation's details.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge> GetMergeRequestAsync(Guid project, string repositoryNameOrId, int mergeOperationId, Nullable<bool> includeLinks = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetMergeRequestAsync : Guid * string * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge>
override this.GetMergeRequestAsync : Guid * string * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge>
Parameters
- project
- Guid
Project ID
- repositoryNameOrId
- String
The name or ID of the repository.
- mergeOperationId
- Int32
OperationId of the merge request.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetMergeRequestAsync(String, String, Int32, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Get a specific merge operation's details.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge> GetMergeRequestAsync(string project, string repositoryNameOrId, int mergeOperationId, Nullable<bool> includeLinks = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetMergeRequestAsync : string * string * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge>
override this.GetMergeRequestAsync : string * string * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitMerge>
Parameters
- project
- String
Project ID or project name
- repositoryNameOrId
- String
The name or ID of the repository.
- mergeOperationId
- Int32
OperationId of the merge request.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.