FormRecognizerModelFactory.TrainingDocumentInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET