WorkItemTrackingHttpClientBase.GetWorkItemTypeFieldsWithReferencesAsync 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
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 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 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for