你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DocumentAnalysisModelFactory.OperationDetails 方法

定义

初始化 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

参数

operationId
String

操作 ID。

status
DocumentOperationStatus

操作状态。

percentCompleted
Nullable<Int32>

操作进度 (0-100) 。

createdOn
DateTimeOffset

创建操作时 (UTC) 日期和时间。

lastUpdatedOn
DateTimeOffset

上次更新状态时 (UTC) 日期和时间。

kind
DocumentOperationKind

操作类型。

resourceLocation
Uri

此操作所面向的资源的 URI。

tags
IReadOnlyDictionary<String,String>

与模型关联的键值标记属性的列表。

error
ResponseError

遇到错误。

serviceVersion
String

用于创建此操作的服务版本。

返回

用于模拟的新 OperationDetails 实例。

适用于