WorkItemTrackingHttpClientBase.UpdateFieldAsync 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.
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.