語言

IngestionDocumentProcessor.ProcessAsync 方法

定義

處理給定的吞嚥文件。

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)

參數

document
IngestionDocument

消化文件以處理。

cancellationToken
CancellationToken

用來監控取消申請的代幣。

傳回

一個任務代表非同步處理操作,結果為處理後的文件。

適用於