WorkItemTrackingHttpClientBase.GetUpdatesAsync 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
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
- 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
- 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
- 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