Edit

Share via


WorkItemTrackingHttpClientBase.GetClassificationNodeAsync Method

Definition

Overloads

GetClassificationNodeAsync(String, TreeStructureGroup, String, Nullable<Int32>, Object, CancellationToken)

[Preview API] Gets the classification node for a given node path.

GetClassificationNodeAsync(Guid, TreeStructureGroup, String, Nullable<Int32>, Object, CancellationToken)

[Preview API] Gets the classification node for a given node path.

GetClassificationNodeAsync(String, TreeStructureGroup, String, Nullable<Int32>, Object, CancellationToken)

[Preview API] Gets the classification node for a given node path.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode> GetClassificationNodeAsync (string project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, Nullable<int> depth = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetClassificationNodeAsync : string * Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup * string * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode>
override this.GetClassificationNodeAsync : string * Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup * string * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode>

Parameters

project
String

Project ID or project name

structureGroup
TreeStructureGroup

Structure group of the classification node, area or iteration.

path
String

Path of the classification node.

depth
Nullable<Int32>

Depth of children to fetch.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetClassificationNodeAsync(Guid, TreeStructureGroup, String, Nullable<Int32>, Object, CancellationToken)

[Preview API] Gets the classification node for a given node path.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode> GetClassificationNodeAsync (Guid project, Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup structureGroup, string path = null, Nullable<int> depth = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetClassificationNodeAsync : Guid * Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup * string * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode>
override this.GetClassificationNodeAsync : Guid * Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.TreeStructureGroup * string * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemClassificationNode>

Parameters

project
Guid

Project ID

structureGroup
TreeStructureGroup

Structure group of the classification node, area or iteration.

path
String

Path of the classification node.

depth
Nullable<Int32>

Depth of children to fetch.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to