Delen via


ModelExtensions.ReplaceEntityFeaturesAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.OperationStatus> ReplaceEntityFeaturesAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel operations, Guid appId, string versionId, Guid entityId, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelFeatureInformation> featureRelationsUpdateObject, System.Threading.CancellationToken cancellationToken = default);
static member ReplaceEntityFeaturesAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel * Guid * string * Guid * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelFeatureInformation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.OperationStatus>
<Extension()>
Public Function ReplaceEntityFeaturesAsync (operations As IModel, appId As Guid, versionId As String, entityId As Guid, featureRelationsUpdateObject As IList(Of ModelFeatureInformation), Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationStatus)

Parameters

operations
IModel
appId
Guid
versionId
String
entityId
Guid
featureRelationsUpdateObject
IList<ModelFeatureInformation>
cancellationToken
CancellationToken

Returns

Applies to