Edit

Share via


BuildHttpClientBase.GetChangesBetweenBuildsAsync Method

Definition

Overloads

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

[Preview API] Gets the changes made to the repository between two given builds.

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

[Preview API] Gets the changes made to the repository between two given builds.

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

[Preview API] Gets the changes made to the repository between two given builds.

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

Parameters

project
Guid

Project ID

fromBuildId
Nullable<Int32>

The ID of the first build.

toBuildId
Nullable<Int32>

The ID of the last build.

top
Nullable<Int32>

The maximum number of changes to return.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Gets the changes made to the repository between two given builds.

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

Parameters

project
String

Project ID or project name

fromBuildId
Nullable<Int32>

The ID of the first build.

toBuildId
Nullable<Int32>

The ID of the last build.

top
Nullable<Int32>

The maximum number of changes to return.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to