Partager via


DocumentAnalysisModelFactory.OperationDetails Méthode

Définition

Initialise une nouvelle instance d’OperationDetails.

public static Azure.AI.FormRecognizer.DocumentAnalysis.OperationDetails OperationDetails (string operationId = default, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus status = Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus.NotStarted, int? percentCompleted = default, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationKind kind = default, Uri resourceLocation = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, Azure.ResponseError error = default, string serviceVersion = default);
static member OperationDetails : string * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus * Nullable<int> * DateTimeOffset * DateTimeOffset * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationKind * Uri * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResponseError * string -> Azure.AI.FormRecognizer.DocumentAnalysis.OperationDetails
Public Shared Function OperationDetails (Optional operationId As String = Nothing, Optional status As DocumentOperationStatus = Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus.NotStarted, Optional percentCompleted As Nullable(Of Integer) = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional lastUpdatedOn As DateTimeOffset = Nothing, Optional kind As DocumentOperationKind = Nothing, Optional resourceLocation As Uri = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional error As ResponseError = Nothing, Optional serviceVersion As String = Nothing) As OperationDetails

Paramètres

operationId
String

ID d’opération

status
DocumentOperationStatus

État de l’opération.

percentCompleted
Nullable<Int32>

Progression de l’opération (0-100).

createdOn
DateTimeOffset

Date et heure (UTC) de la création de l’opération.

lastUpdatedOn
DateTimeOffset

Date et heure (UTC) de la dernière mise à jour du status.

kind
DocumentOperationKind

Type d’opération.

resourceLocation
Uri

URI de la ressource ciblée par cette opération.

tags
IReadOnlyDictionary<String,String>

Liste des attributs de balise clé-valeur associés au modèle.

error
ResponseError

Erreur rencontrée.

serviceVersion
String

Version de service utilisée pour créer cette opération.

Retours

Une nouvelle OperationDetails instance de moqueries.

S’applique à