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

FormTrainingClient.GetCustomModel(String, CancellationToken) 方法

定义

获取自定义模型的说明,包括它可以识别的表单类型以及它将为每个窗体类型提取的字段。

public virtual Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModel> GetCustomModel (string modelId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCustomModel : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModel>
override this.GetCustomModel : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModel>
Public Overridable Function GetCustomModel (modelId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CustomFormModel)

参数

modelId
String

要检索的模型的 ID。

cancellationToken
CancellationToken

控制 CancellationToken 请求生存期的 。

返回

表示 Response<T> 操作结果的 。 它可以强制转换为 CustomFormModel 包含所请求模型相关信息的 。

适用于