Edit

Share via


WorkItemTrackingHttpClientCompatBase.GetHistoryAsync Method

Definition

Caution

This API is now deprecated.

[Preview API] Returns history of all revision for a given work item ID

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemHistory>> GetHistoryAsync (int id, Nullable<int> top, Nullable<int> skip, object userState, System.Threading.CancellationToken cancellationToken);
abstract member GetHistoryAsync : int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemHistory>>
override this.GetHistoryAsync : int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemHistory>>

Parameters

id
Int32
skip
Nullable<Int32>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to