Freigeben über


DocumentModelAdministrationClient.GetOperationAsync Methode

Definition

Abrufen eines Dokumentmodellvorgangs anhand seiner ID. Beachten Sie, dass Vorgangsinformationen nur 24 Stunden lang beibehalten werden.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.OperationDetails>> GetOperationAsync(string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.OperationDetails>>
override this.GetOperationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.OperationDetails>>
Public Overridable Function GetOperationAsync (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OperationDetails))

Parameter

operationId
String

Vorgangs-ID.

cancellationToken
CancellationToken

Ein CancellationToken , der die Anforderungsdauer steuert.

Gibt zurück

Ein Response<T> , der das Ergebnis des Vorgangs darstellt. Sie kann in eine OperationDetails Umgewandelt werden, die Informationen zum angeforderten Modell enthält.

Gilt für: