KnowledgebaseExtensions.UpdateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.Operation> UpdateAsync (this Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.IKnowledgebase operations, string kbId, Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.UpdateKbOperationDTO updateKb, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.IKnowledgebase * string * Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.UpdateKbOperationDTO * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.Operation>
<Extension()>
Public Function UpdateAsync (operations As IKnowledgebase, kbId As String, updateKb As UpdateKbOperationDTO, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Operation)

Parameters

operations
IKnowledgebase
kbId
String
cancellationToken
CancellationToken

Returns

Applies to