Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ModelExtensions.UpdatePatternAnyEntityRoleAsync 方法

定义

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

参数

operations
IModel
appId
Guid
versionId
String
entityId
Guid
roleId
Guid
entityRoleUpdateObject
EntityRoleUpdateObject
cancellationToken
CancellationToken

返回

适用于