Condividi tramite


IKnowledgebase.UpdateWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.Operation,Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.KnowledgebaseUpdateHeaders>> UpdateWithHttpMessagesAsync (string kbId, Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.UpdateKbOperationDTO updateKb, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.UpdateKbOperationDTO * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.Operation, Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.KnowledgebaseUpdateHeaders>>
Public Function UpdateWithHttpMessagesAsync (kbId As String, updateKb As UpdateKbOperationDTO, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Operation, KnowledgebaseUpdateHeaders))

Parameters

kbId
String
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to