Condividi tramite


ModelExtensions.AddHierarchicalEntityAsync Method

Definition

public static System.Threading.Tasks.Task<Guid> AddHierarchicalEntityAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel operations, Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.HierarchicalEntityModel hierarchicalModelCreateObject, System.Threading.CancellationToken cancellationToken = default);
static member AddHierarchicalEntityAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel * Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.HierarchicalEntityModel * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Guid>
<Extension()>
Public Function AddHierarchicalEntityAsync (operations As IModel, appId As Guid, versionId As String, hierarchicalModelCreateObject As HierarchicalEntityModel, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Guid)

Parameters

operations
IModel
appId
Guid
versionId
String
hierarchicalModelCreateObject
HierarchicalEntityModel
cancellationToken
CancellationToken

Returns

Applies to