Edit

WorkItemTrackingProcessHttpClient.UpdateProcessBehaviorAsync Method

Definition

[Preview API] Replaces a behavior in the process.

public System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessBehavior> UpdateProcessBehaviorAsync(Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessBehaviorUpdateRequest behaviorData, Guid processId, string behaviorRefName, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.UpdateProcessBehaviorAsync : Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessBehaviorUpdateRequest * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.Process.WebApi.Models.ProcessBehavior>

Parameters

processId
Guid

The ID of the process

behaviorRefName
String

The reference name of the behavior

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to