Langue

ImageAlternativeTextEnricher.ProcessAsync Méthode

Définition

Traite le document d’ingestion donné.

public override System.Threading.Tasks.Task<Microsoft.Extensions.DataIngestion.IngestionDocument> ProcessAsync(Microsoft.Extensions.DataIngestion.IngestionDocument document, System.Threading.CancellationToken cancellationToken = default);
override this.ProcessAsync : Microsoft.Extensions.DataIngestion.IngestionDocument * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Extensions.DataIngestion.IngestionDocument>
Public Overrides 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.

S’applique à