FormRecognizerModelFactory.TrainingDocumentInfo Method

Definition

Initializes a new instance of the TrainingDocumentInfo class.

public static Azure.AI.FormRecognizer.Training.TrainingDocumentInfo TrainingDocumentInfo (string name, int pageCount, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.Models.FormRecognizerError> errors, Azure.AI.FormRecognizer.Training.TrainingStatus status, string modelId);
static member TrainingDocumentInfo : string * int * seq<Azure.AI.FormRecognizer.Models.FormRecognizerError> * Azure.AI.FormRecognizer.Training.TrainingStatus * string -> Azure.AI.FormRecognizer.Training.TrainingDocumentInfo
Public Shared Function TrainingDocumentInfo (name As String, pageCount As Integer, errors As IEnumerable(Of FormRecognizerError), status As TrainingStatus, modelId As String) As TrainingDocumentInfo

Parameters

name
String

Training document name.

pageCount
Int32

Total number of pages trained.

errors
IEnumerable<FormRecognizerError>

List of errors.

status
TrainingStatus

Status of the training operation.

modelId
String

The unique identifier of the model.

Returns

A new TrainingDocumentInfo instance for mocking.

Applies to