Share via


FormRecognizerModelFactory.CustomFormModelInfo Method

Definition

Initializes a new instance of the CustomFormModelInfo class.

public static Azure.AI.FormRecognizer.Training.CustomFormModelInfo CustomFormModelInfo (string modelId, DateTimeOffset trainingStartedOn, DateTimeOffset trainingCompletedOn, Azure.AI.FormRecognizer.Training.CustomFormModelStatus status, string modelName, Azure.AI.FormRecognizer.Training.CustomFormModelProperties properties);
static member CustomFormModelInfo : string * DateTimeOffset * DateTimeOffset * Azure.AI.FormRecognizer.Training.CustomFormModelStatus * string * Azure.AI.FormRecognizer.Training.CustomFormModelProperties -> Azure.AI.FormRecognizer.Training.CustomFormModelInfo
Public Shared Function CustomFormModelInfo (modelId As String, trainingStartedOn As DateTimeOffset, trainingCompletedOn As DateTimeOffset, status As CustomFormModelStatus, modelName As String, properties As CustomFormModelProperties) As CustomFormModelInfo

Parameters

modelId
String

The unique identifier of the model.

trainingStartedOn
DateTimeOffset

The date and time (UTC) when model training was started.

trainingCompletedOn
DateTimeOffset

The date and time (UTC) when model training completed.

status
CustomFormModelStatus

The status of the model.

modelName
String

An optional, user-defined name to associate with your model.

properties
CustomFormModelProperties

Model properties, like for example, if a model is composed.

Returns

A new CustomFormModelInfo instance for mocking.

Applies to