Sdílet prostřednictvím


ModelExtensions.AddExplicitListItemAsync Method

Definition

public static System.Threading.Tasks.Task<int?> AddExplicitListItemAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel operations, Guid appId, string versionId, Guid entityId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExplicitListItemCreateObject item, System.Threading.CancellationToken cancellationToken = default);
static member AddExplicitListItemAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel * Guid * string * Guid * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExplicitListItemCreateObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Nullable<int>>
<Extension()>
Public Function AddExplicitListItemAsync (operations As IModel, appId As Guid, versionId As String, entityId As Guid, item As ExplicitListItemCreateObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Nullable(Of Integer))

Parameters

operations
IModel
appId
Guid
versionId
String
entityId
Guid
cancellationToken
CancellationToken

Returns

Applies to