Share via


ImageAlternativeTextEnricher.ProcessAsync Method

Definition

Processes the given ingestion document.

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)

Parameters

document
IngestionDocument

The ingestion document to process.

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A task representing the asynchronous processing operation, with the processed document as the result.

Applies to