IngestionDocumentProcessor.ProcessAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Traite le document d’ingestion donné.
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)
Paramètres
- document
- IngestionDocument
Document d’ingestion à traiter.
- cancellationToken
- CancellationToken
Jeton à surveiller pour les demandes d’annulation.
Retours
Tâche représentant l’opération de traitement asynchrone, avec le document traité comme résultat.