ModelExtensions.UpdateEntityRoleAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.OperationStatus> UpdateEntityRoleAsync (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 UpdateEntityRoleAsync : 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 UpdateEntityRoleAsync (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)
Parameters
- operations
- IModel
- appId
- Guid
- versionId
- String
- entityId
- Guid
- roleId
- Guid
- entityRoleUpdateObject
- EntityRoleUpdateObject
- cancellationToken
- CancellationToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET