ImageAlternativeTextEnricher.ProcessAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.