Edit

Share via


WorkItemTrackingHttpClientBase.GetUpdatesAsync Method

Definition

Overloads

GetUpdatesAsync(Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Returns a the deltas between work item revisions

GetUpdatesAsync(Guid, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Returns a the deltas between work item revisions

GetUpdatesAsync(String, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Returns a the deltas between work item revisions

GetUpdatesAsync(Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Returns a the deltas between work item revisions

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

Parameters

id
Int32
skip
Nullable<Int32>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetUpdatesAsync(Guid, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Returns a the deltas between work item revisions

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemUpdate>> GetUpdatesAsync (Guid project, int id, Nullable<int> top = null, Nullable<int> skip = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetUpdatesAsync : Guid * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemUpdate>>
override this.GetUpdatesAsync : Guid * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemUpdate>>

Parameters

project
Guid

Project ID

id
Int32
skip
Nullable<Int32>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetUpdatesAsync(String, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Returns a the deltas between work item revisions

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemUpdate>> GetUpdatesAsync (string project, int id, Nullable<int> top = null, Nullable<int> skip = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetUpdatesAsync : string * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemUpdate>>
override this.GetUpdatesAsync : string * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemUpdate>>

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