TfvcHttpClientBase.GetChangesetsAsync 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
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
Include details about associated work items in the response. 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
Include details about associated work items in the response. 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
Include details about associated work items in the response. 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for