FormRecognizerModelFactory.TrainingDocumentInfo Method

Definition

Initializes a new instance of the TrainingDocumentInfo class.

C#
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);

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

Product Versions
Azure SDK for .NET Latest