WorkItemTrackingProcessHttpClient.UpdateProcessBehaviorAsync 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.
[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
- behaviorData
- ProcessBehaviorUpdateRequest
- 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.