Share via


ModelExtensions.AddCustomPrebuiltEntityAsync Method

Definition

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

Parameters

operations
IModel
appId
Guid
versionId
String
prebuiltDomainModelCreateObject
PrebuiltDomainModelCreateObject
cancellationToken
CancellationToken

Returns

Applies to