Edit

Share via


WorkItemTrackingHttpClientBase.GetRevisionsAsync Method

Definition

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
skip
Nullable<Int32>
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
skip
Nullable<Int32>
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
skip
Nullable<Int32>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to