Edit

Share via


BuildHttpClient.GetBuildChangesAsync2 Method

Definition

Overloads

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

[Preview API] The changes associated with a build

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

[Preview API] The changes associated with a build

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

[Preview API] The changes associated with a build

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.Build.WebApi.Change>> GetBuildChangesAsync2 (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 GetBuildChangesAsync2 : Guid * int * string * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.Build.WebApi.Change>>
override this.GetBuildChangesAsync2 : Guid * int * string * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<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

Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Change>>

Applies to

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

[Preview API] The changes associated with a build

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.Build.WebApi.Change>> GetBuildChangesAsync2 (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 GetBuildChangesAsync2 : string * int * string * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.Build.WebApi.Change>>
override this.GetBuildChangesAsync2 : string * int * string * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<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

Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Change>>

Applies to