Edit

Share via


WorkItemTrackingHttpClientCompatBase.GetDependentFieldsAsync Method

Definition

Overloads

GetDependentFieldsAsync(Guid, String, String, Object, CancellationToken)
Obsolete.

[Preview API] Returns the dependent fields for the corresponding workitem type and fieldname.

GetDependentFieldsAsync(String, String, String, Object, CancellationToken)
Obsolete.

[Preview API] Returns the dependent fields for the corresponding workitem type and fieldname.

GetDependentFieldsAsync(Guid, String, String, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Returns the dependent fields for the corresponding workitem type and fieldname.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldDependentRule> GetDependentFieldsAsync(Guid project, string type, string field, object userState, System.Threading.CancellationToken cancellationToken);
abstract member GetDependentFieldsAsync : Guid * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldDependentRule>
override this.GetDependentFieldsAsync : Guid * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldDependentRule>

Parameters

project
Guid

Project ID

type
String

The work item type name

field
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetDependentFieldsAsync(String, String, String, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Returns the dependent fields for the corresponding workitem type and fieldname.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldDependentRule> GetDependentFieldsAsync(string project, string type, string field, object userState, System.Threading.CancellationToken cancellationToken);
abstract member GetDependentFieldsAsync : string * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldDependentRule>
override this.GetDependentFieldsAsync : string * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.FieldDependentRule>

Parameters

project
String

Project ID or project name

type
String

The work item type name

field
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to