Edit

Share via


GitCompatHttpClientBase.GetPullRequestWorkItemsAsync Method

Definition

Overloads

GetPullRequestWorkItemsAsync(String, String, Int32, Object, CancellationToken)
Obsolete.

[Preview API] Retrieve a list of work items associated with a pull request.

GetPullRequestWorkItemsAsync(Guid, String, Int32, Object, CancellationToken)
Obsolete.

[Preview API] Retrieve a list of work items associated with a pull request.

GetPullRequestWorkItemsAsync(String, Guid, Int32, Object, CancellationToken)
Obsolete.

[Preview API] Retrieve a list of work items associated with a pull request.

GetPullRequestWorkItemsAsync(String, Int32, Object, CancellationToken)
Obsolete.

[Preview API] Retrieve a list of work items associated with a pull request.

GetPullRequestWorkItemsAsync(Guid, Int32, Object, CancellationToken)
Obsolete.

[Preview API] Retrieve a list of work items associated with a pull request.

GetPullRequestWorkItemsAsync(Guid, Guid, Int32, Object, CancellationToken)
Obsolete.

[Preview API] Retrieve a list of work items associated with a pull request.

GetPullRequestWorkItemsAsync(String, String, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Retrieve a list of work items associated with a pull request.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>> GetPullRequestWorkItemsAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestWorkItemsAsync : string * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>
override this.GetPullRequestWorkItemsAsync : string * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>

Parameters

project
String

Project ID or project name

repositoryId
String

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetPullRequestWorkItemsAsync(Guid, String, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Retrieve a list of work items associated with a pull request.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>> GetPullRequestWorkItemsAsync(Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestWorkItemsAsync : Guid * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>
override this.GetPullRequestWorkItemsAsync : Guid * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>

Parameters

project
Guid

Project ID

repositoryId
String

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetPullRequestWorkItemsAsync(String, Guid, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Retrieve a list of work items associated with a pull request.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>> GetPullRequestWorkItemsAsync(string project, Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestWorkItemsAsync : string * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>
override this.GetPullRequestWorkItemsAsync : string * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>

Parameters

project
String

Project ID or project name

repositoryId
Guid

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetPullRequestWorkItemsAsync(String, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Retrieve a list of work items associated with a pull request.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>> GetPullRequestWorkItemsAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestWorkItemsAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>
override this.GetPullRequestWorkItemsAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>

Parameters

repositoryId
String

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetPullRequestWorkItemsAsync(Guid, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Retrieve a list of work items associated with a pull request.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>> GetPullRequestWorkItemsAsync(Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestWorkItemsAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>
override this.GetPullRequestWorkItemsAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>

Parameters

repositoryId
Guid

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetPullRequestWorkItemsAsync(Guid, Guid, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Retrieve a list of work items associated with a pull request.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>> GetPullRequestWorkItemsAsync(Guid project, Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestWorkItemsAsync : Guid * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>
override this.GetPullRequestWorkItemsAsync : Guid * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.AssociatedWorkItem>>

Parameters

project
Guid

Project ID

repositoryId
Guid

ID or name of the repository.

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to