KnowledgebaseExtensions.DownloadAsync Method

Definition

Overloads

DownloadAsync(IKnowledgebase, String, String, CancellationToken)
DownloadAsync(IKnowledgebase, String, String, String, String, CancellationToken)

DownloadAsync(IKnowledgebase, String, String, CancellationToken)

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

Parameters

operations
IKnowledgebase
kbId
String
environment
String
cancellationToken
CancellationToken

Returns

Task<QnADocumentsDTO>

Applies to

DownloadAsync(IKnowledgebase, String, String, String, String, CancellationToken)

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

Parameters

operations
IKnowledgebase
kbId
String
environment
String
source
String
changedSince
String
cancellationToken
CancellationToken

Returns

Task<QnADocumentsDTO>

Applies to