KnowledgebaseExtensions.UpdateAsync 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.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
- updateKb
- UpdateKbOperationDTO
- cancellationToken
- CancellationToken