Edit

Share via


TfvcHttpClientBase.GetChangesetsAsync Method

Definition

Overloads

GetChangesetsAsync(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String, TfvcChangesetSearchCriteria, Object, CancellationToken)

[Preview API] Retrieve Tfvc Changesets

GetChangesetsAsync(Guid, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String, TfvcChangesetSearchCriteria, Object, CancellationToken)

[Preview API] Retrieve Tfvc Changesets

GetChangesetsAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String, TfvcChangesetSearchCriteria, Object, CancellationToken)

[Preview API] Retrieve Tfvc Changesets

GetChangesetsAsync(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String, TfvcChangesetSearchCriteria, Object, CancellationToken)

[Preview API] Retrieve Tfvc Changesets

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetRef>> GetChangesetsAsync (Nullable<int> maxCommentLength = null, Nullable<int> skip = null, Nullable<int> top = null, string orderby = null, Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetChangesetsAsync : Nullable<int> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetRef>>
override this.GetChangesetsAsync : Nullable<int> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetRef>>

Parameters

maxCommentLength
Nullable<Int32>

Include details about associated work items in the response. Default: null

skip
Nullable<Int32>

Number of results to skip. Default: null

top
Nullable<Int32>

The maximum number of results to return. Default: null

orderby
String

Results are sorted by ID in descending order by default. Use id asc to sort by ID in ascending order.

searchCriteria
TfvcChangesetSearchCriteria

Following criteria available (.itemPath, .version, .versionType, .versionOption, .author, .fromId, .toId, .fromDate, .toDate) Default: null

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetChangesetsAsync(Guid, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String, TfvcChangesetSearchCriteria, Object, CancellationToken)

[Preview API] Retrieve Tfvc Changesets

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetRef>> GetChangesetsAsync (Guid project, Nullable<int> maxCommentLength = null, Nullable<int> skip = null, Nullable<int> top = null, string orderby = null, Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetChangesetsAsync : Guid * Nullable<int> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetRef>>
override this.GetChangesetsAsync : Guid * Nullable<int> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetRef>>

Parameters

project
Guid

Project ID

maxCommentLength
Nullable<Int32>

Include details about associated work items in the response. Default: null

skip
Nullable<Int32>

Number of results to skip. Default: null

top
Nullable<Int32>

The maximum number of results to return. Default: null

orderby
String

Results are sorted by ID in descending order by default. Use id asc to sort by ID in ascending order.

searchCriteria
TfvcChangesetSearchCriteria

Following criteria available (.itemPath, .version, .versionType, .versionOption, .author, .fromId, .toId, .fromDate, .toDate) Default: null

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetChangesetsAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String, TfvcChangesetSearchCriteria, Object, CancellationToken)

[Preview API] Retrieve Tfvc Changesets

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetRef>> GetChangesetsAsync (string project, Nullable<int> maxCommentLength = null, Nullable<int> skip = null, Nullable<int> top = null, string orderby = null, Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria searchCriteria = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetChangesetsAsync : string * Nullable<int> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetRef>>
override this.GetChangesetsAsync : string * Nullable<int> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetRef>>

Parameters

project
String

Project ID or project name

maxCommentLength
Nullable<Int32>

Include details about associated work items in the response. Default: null

skip
Nullable<Int32>

Number of results to skip. Default: null

top
Nullable<Int32>

The maximum number of results to return. Default: null

orderby
String

Results are sorted by ID in descending order by default. Use id asc to sort by ID in ascending order.

searchCriteria
TfvcChangesetSearchCriteria

Following criteria available (.itemPath, .version, .versionType, .versionOption, .author, .fromId, .toId, .fromDate, .toDate) Default: null

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to