ModelExtensions.CreateRegexEntityRoleAsync 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<Guid> CreateRegexEntityRoleAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel operations, Guid appId, string versionId, Guid entityId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntityRoleCreateObject entityRoleCreateObject, System.Threading.CancellationToken cancellationToken = default);
static member CreateRegexEntityRoleAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel * Guid * string * Guid * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntityRoleCreateObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Guid>
<Extension()>
Public Function CreateRegexEntityRoleAsync (operations As IModel, appId As Guid, versionId As String, entityId As Guid, entityRoleCreateObject As EntityRoleCreateObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Guid)
Parameters
- operations
- IModel
- appId
- Guid
- versionId
- String
- entityId
- Guid
- entityRoleCreateObject
- EntityRoleCreateObject
- cancellationToken
- CancellationToken