Share via


AlterationsExtensions.ReplaceAsync Method

Definition

public static System.Threading.Tasks.Task ReplaceAsync (this Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.IAlterations operations, Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.WordAlterationsDTO wordAlterations, System.Threading.CancellationToken cancellationToken = default);
static member ReplaceAsync : Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.IAlterations * Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.WordAlterationsDTO * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ReplaceAsync (operations As IAlterations, wordAlterations As WordAlterationsDTO, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IAlterations
wordAlterations
WordAlterationsDTO
cancellationToken
CancellationToken

Returns

Applies to