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

DocumentAnalysisModelFactory.DocumentModelComposeOperationDetails 方法

定义

初始化 DocumentModelComposeOperationDetails 的新实例。

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

参数

operationId
String

操作 ID。

status
DocumentOperationStatus

操作状态。

percentCompleted
Nullable<Int32>

操作进度 (0-100) 。

createdOn
DateTimeOffset

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

lastUpdatedOn
DateTimeOffset

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

resourceLocation
Uri

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

tags
IReadOnlyDictionary<String,String>

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

error
ResponseError

遇到错误。

result
DocumentModelDetails

成功后的操作结果。

serviceVersion
String

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

返回

用于模拟的新 DocumentModelComposeOperationDetails 实例。

适用于