Share via


KnowledgebaseExtensions.ReplaceAsync Method

Definition

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

Parameters

operations
IKnowledgebase
kbId
String
replaceKb
ReplaceKbDTO
cancellationToken
CancellationToken

Returns

Applies to