Edit

Share via


BuildHttpClientBase.GetWorkItemsBetweenBuildsAsync Method

Definition

Overloads

GetWorkItemsBetweenBuildsAsync(Guid, Int32, Int32, Nullable<Int32>, Object, CancellationToken)

[Preview API] Gets all the work items between two builds.

GetWorkItemsBetweenBuildsAsync(String, Int32, Int32, Nullable<Int32>, Object, CancellationToken)

[Preview API] Gets all the work items between two builds.

GetWorkItemsBetweenBuildsAsync(Guid, Int32, Int32, Nullable<Int32>, Object, CancellationToken)

[Preview API] Gets all the work items between two builds.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.WebApi.ResourceRef>> GetWorkItemsBetweenBuildsAsync (Guid project, int fromBuildId, int toBuildId, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemsBetweenBuildsAsync : Guid * int * int * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.WebApi.ResourceRef>>
override this.GetWorkItemsBetweenBuildsAsync : Guid * int * int * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.WebApi.ResourceRef>>

Parameters

project
Guid

Project ID

fromBuildId
Int32

The ID of the first build.

toBuildId
Int32

The ID of the last build.

top
Nullable<Int32>

The maximum number of work items to return.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<List<Microsoft.VisualStudio.Services.WebApi.ResourceRef>>

Applies to

GetWorkItemsBetweenBuildsAsync(String, Int32, Int32, Nullable<Int32>, Object, CancellationToken)

[Preview API] Gets all the work items between two builds.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.WebApi.ResourceRef>> GetWorkItemsBetweenBuildsAsync (string project, int fromBuildId, int toBuildId, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemsBetweenBuildsAsync : string * int * int * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.WebApi.ResourceRef>>
override this.GetWorkItemsBetweenBuildsAsync : string * int * int * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.WebApi.ResourceRef>>

Parameters

project
String

Project ID or project name

fromBuildId
Int32

The ID of the first build.

toBuildId
Int32

The ID of the last build.

top
Nullable<Int32>

The maximum number of work items to return.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<List<Microsoft.VisualStudio.Services.WebApi.ResourceRef>>

Applies to