Edit

Share via


WorkItemTrackingHttpClientBase.UpdateFieldAsync Method

Definition

Overloads

UpdateFieldAsync(WorkItemField, String, Object, CancellationToken)

Updates the field.

UpdateFieldAsync(WorkItemField, Guid, String, Object, CancellationToken)

Updates the field.

UpdateFieldAsync(WorkItemField, String, String, Object, CancellationToken)

Updates the field.

UpdateFieldAsync(WorkItemField, String, Object, CancellationToken)

Updates the field.

public virtual System.Threading.Tasks.Task UpdateFieldAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField workItemField, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateFieldAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdateFieldAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

workItemField
WorkItemField

New field definition

fieldNameOrRefName
String

Field simple name or reference name

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UpdateFieldAsync(WorkItemField, Guid, String, Object, CancellationToken)

Updates the field.

public virtual System.Threading.Tasks.Task UpdateFieldAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField workItemField, Guid project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateFieldAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdateFieldAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

workItemField
WorkItemField

New field definition

project
Guid

Project ID

fieldNameOrRefName
String

Field simple name or reference name

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UpdateFieldAsync(WorkItemField, String, String, Object, CancellationToken)

Updates the field.

public virtual System.Threading.Tasks.Task UpdateFieldAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField workItemField, string project, string fieldNameOrRefName, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateFieldAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdateFieldAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemField * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

workItemField
WorkItemField

New field definition

project
String

Project ID or project name

fieldNameOrRefName
String

Field simple name or reference name

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to