Bearbeiten

Freigeben über


TaskHttpClientBase.UpdateRecordsAsync Method

Definition

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TimelineRecord>> UpdateRecordsAsync(Guid scopeIdentifier, string hubName, Guid planId, Guid timelineId, Microsoft.VisualStudio.Services.WebApi.VssJsonCollectionWrapper<System.Collections.Generic.IEnumerable<Microsoft.TeamFoundation.DistributedTask.WebApi.TimelineRecord>> records, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateRecordsAsync : Guid * string * Guid * Guid * Microsoft.VisualStudio.Services.WebApi.VssJsonCollectionWrapper<seq<Microsoft.TeamFoundation.DistributedTask.WebApi.TimelineRecord>> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TimelineRecord>>
override this.UpdateRecordsAsync : Guid * string * Guid * Guid * Microsoft.VisualStudio.Services.WebApi.VssJsonCollectionWrapper<seq<Microsoft.TeamFoundation.DistributedTask.WebApi.TimelineRecord>> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TimelineRecord>>

Parameters

scopeIdentifier
Guid

The project GUID to scope the request

hubName
String

The name of the server hub: "build" for the Build server or "rm" for the Release Management server

planId
Guid
timelineId
Guid
records
Microsoft.VisualStudio.Services.WebApi.VssJsonCollectionWrapper<IEnumerable<TimelineRecord>>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to