BuildHttpClientBase.GetWorkItemsBetweenBuildsAsync 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
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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.