Bearbeiten

Freigeben über


TaskHttpClientBase.CreateTimelineAsync Method

Definition

[Preview API]

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.Timeline> CreateTimelineAsync(Guid scopeIdentifier, string hubName, Guid planId, Microsoft.TeamFoundation.DistributedTask.WebApi.Timeline timeline, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTimelineAsync : Guid * string * Guid * Microsoft.TeamFoundation.DistributedTask.WebApi.Timeline * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.Timeline>
override this.CreateTimelineAsync : Guid * string * Guid * Microsoft.TeamFoundation.DistributedTask.WebApi.Timeline * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.Timeline>

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
timeline
Timeline
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to