Edit

Share via


WorkItemTrackingHttpClientBase.GetWorkItemTypeFieldsWithReferencesAsync Method

Definition

Overloads

GetWorkItemTypeFieldsWithReferencesAsync(Guid, String, Nullable<WorkItemTypeFieldsExpandLevel>, Object, CancellationToken)

[Preview API] Get a list of fields for a work item type with detailed references.

GetWorkItemTypeFieldsWithReferencesAsync(String, String, Nullable<WorkItemTypeFieldsExpandLevel>, Object, CancellationToken)

[Preview API] Get a list of fields for a work item type with detailed references.

GetWorkItemTypeFieldsWithReferencesAsync(Guid, String, Nullable<WorkItemTypeFieldsExpandLevel>, Object, CancellationToken)

[Preview API] Get a list of fields for a work item type with detailed references.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldWithReferences>> GetWorkItemTypeFieldsWithReferencesAsync (Guid project, string type, Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel> expand = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemTypeFieldsWithReferencesAsync : Guid * string * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldWithReferences>>
override this.GetWorkItemTypeFieldsWithReferencesAsync : Guid * string * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldWithReferences>>

Parameters

project
Guid

Project ID

type
String

Work item type.

expand
Nullable<WorkItemTypeFieldsExpandLevel>

Expand level for the API response. Properties: to include allowedvalues, default value, isRequired etc. as a part of response; None: to skip these properties.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetWorkItemTypeFieldsWithReferencesAsync(String, String, Nullable<WorkItemTypeFieldsExpandLevel>, Object, CancellationToken)

[Preview API] Get a list of fields for a work item type with detailed references.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldWithReferences>> GetWorkItemTypeFieldsWithReferencesAsync (string project, string type, Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel> expand = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemTypeFieldsWithReferencesAsync : string * string * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldWithReferences>>
override this.GetWorkItemTypeFieldsWithReferencesAsync : string * string * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldsExpandLevel> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeFieldWithReferences>>

Parameters

project
String

Project ID or project name

type
String

Work item type.

expand
Nullable<WorkItemTypeFieldsExpandLevel>

Expand level for the API response. Properties: to include allowedvalues, default value, isRequired etc. as a part of response; None: to skip these properties.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to