Edit

Share via


BuildHttpClientBase.GetBuildChangesAsync Method

Definition

Overloads

GetBuildChangesAsync(Guid, Int32, String, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Gets the changes associated with a build

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

Parameters

project
Guid

Project ID

buildId
Int32
continuationToken
String
top
Nullable<Int32>

The maximum number of changes to return

includeSourceChange
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetBuildChangesAsync(String, Int32, String, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Gets the changes associated with a build

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.Change>> GetBuildChangesAsync(string project, int buildId, string continuationToken = null, Nullable<int> top = null, Nullable<bool> includeSourceChange = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetBuildChangesAsync : string * int * string * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.Change>>
override this.GetBuildChangesAsync : string * int * string * Nullable<int> * Nullable<bool> * 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

buildId
Int32
continuationToken
String
top
Nullable<Int32>

The maximum number of changes to return

includeSourceChange
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to