WorkItemTrackingHttpClientBase.GetRevisionsAsync 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
GetRevisionsAsync(Int32, Nullable<Int32>, Nullable<Int32>, Nullable<WorkItemExpand>, Object, CancellationToken) |
[Preview API] Returns the list of fully hydrated work item revisions, paged. |
GetRevisionsAsync(Guid, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<WorkItemExpand>, Object, CancellationToken) |
[Preview API] Returns the list of fully hydrated work item revisions, paged. |
GetRevisionsAsync(String, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<WorkItemExpand>, Object, CancellationToken) |
[Preview API] Returns the list of fully hydrated work item revisions, paged. |
GetRevisionsAsync(Int32, Nullable<Int32>, Nullable<Int32>, Nullable<WorkItemExpand>, Object, CancellationToken)
[Preview API] Returns the list of fully hydrated work item revisions, paged.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>> GetRevisionsAsync (int id, Nullable<int> top = null, Nullable<int> skip = null, Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand> expand = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetRevisionsAsync : int * Nullable<int> * Nullable<int> * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
override this.GetRevisionsAsync : int * Nullable<int> * Nullable<int> * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
Parameters
- id
- Int32
- expand
- Nullable<WorkItemExpand>
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetRevisionsAsync(Guid, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<WorkItemExpand>, Object, CancellationToken)
[Preview API] Returns the list of fully hydrated work item revisions, paged.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>> GetRevisionsAsync (Guid project, int id, Nullable<int> top = null, Nullable<int> skip = null, Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand> expand = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetRevisionsAsync : Guid * int * Nullable<int> * Nullable<int> * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
override this.GetRevisionsAsync : Guid * int * Nullable<int> * Nullable<int> * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
Parameters
- project
- Guid
Project ID
- id
- Int32
- expand
- Nullable<WorkItemExpand>
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetRevisionsAsync(String, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<WorkItemExpand>, Object, CancellationToken)
[Preview API] Returns the list of fully hydrated work item revisions, paged.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>> GetRevisionsAsync (string project, int id, Nullable<int> top = null, Nullable<int> skip = null, Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand> expand = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetRevisionsAsync : string * int * Nullable<int> * Nullable<int> * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
override this.GetRevisionsAsync : string * int * Nullable<int> * Nullable<int> * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemExpand> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
Parameters
- project
- String
Project ID or project name
- id
- Int32
- expand
- Nullable<WorkItemExpand>
- 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