TfvcHttpClientBase.GetChangesetAsync 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
GetChangesetAsync(Int32, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, String, TfvcChangesetSearchCriteria, Object, CancellationToken)
[Preview API] Retrieve a Tfvc Changeset
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangeset> GetChangesetAsync(int id, Nullable<int> maxChangeCount = null, Nullable<bool> includeDetails = null, Nullable<bool> includeWorkItems = null, Nullable<int> maxCommentLength = null, Nullable<bool> includeSourceRename = 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 GetChangesetAsync : int * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangeset>
override this.GetChangesetAsync : int * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangeset>
Parameters
- id
- Int32
Changeset Id to retrieve.
Include policy details and check-in notes in the response. Default: false
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
GetChangesetAsync(Guid, Int32, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, String, TfvcChangesetSearchCriteria, Object, CancellationToken)
[Preview API] Retrieve a Tfvc Changeset
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangeset> GetChangesetAsync(Guid project, int id, Nullable<int> maxChangeCount = null, Nullable<bool> includeDetails = null, Nullable<bool> includeWorkItems = null, Nullable<int> maxCommentLength = null, Nullable<bool> includeSourceRename = 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 GetChangesetAsync : Guid * int * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangeset>
override this.GetChangesetAsync : Guid * int * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangeset>
Parameters
- project
- Guid
Project ID
- id
- Int32
Changeset Id to retrieve.
Include policy details and check-in notes in the response. Default: false
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
GetChangesetAsync(String, Int32, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, String, TfvcChangesetSearchCriteria, Object, CancellationToken)
[Preview API] Retrieve a Tfvc Changeset
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangeset> GetChangesetAsync(string project, int id, Nullable<int> maxChangeCount = null, Nullable<bool> includeDetails = null, Nullable<bool> includeWorkItems = null, Nullable<int> maxCommentLength = null, Nullable<bool> includeSourceRename = 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 GetChangesetAsync : string * int * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangeset>
override this.GetChangesetAsync : string * int * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * string * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangesetSearchCriteria * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcChangeset>
Parameters
- project
- String
Project ID or project name
- id
- Int32
Changeset Id to retrieve.
Include policy details and check-in notes in the response. Default: false
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.