IngestionDocumentProcessor.ProcessAsync Methode

Definitie

Hiermee wordt het opgegeven opnamedocument verwerkt.

public abstract System.Threading.Tasks.Task<Microsoft.Extensions.DataIngestion.IngestionDocument> ProcessAsync(Microsoft.Extensions.DataIngestion.IngestionDocument document, System.Threading.CancellationToken cancellationToken = default);
abstract member ProcessAsync : Microsoft.Extensions.DataIngestion.IngestionDocument * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Extensions.DataIngestion.IngestionDocument>
Public MustOverride Function ProcessAsync (document As IngestionDocument, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IngestionDocument)

Parameters

document
IngestionDocument

Het opnamedocument dat moet worden verwerkt.

cancellationToken
CancellationToken

Het token dat moet worden gecontroleerd op annuleringsaanvragen.

Retouren

Een taak die de asynchrone verwerkingsbewerking vertegenwoordigt, met het verwerkte document als resultaat.

Van toepassing op