Share via


TrainingOperation Constructors

Definition

Overloads

TrainingOperation()

Initializes a new instance of the TrainingOperation class. This constructor is intended to be used for mocking only.

TrainingOperation(String, FormTrainingClient)

Initializes a new instance of the TrainingOperation class which tracks the status of a long-running operation for training a model from a collection of custom forms.

TrainingOperation()

Source:
TrainingOperation.cs

Initializes a new instance of the TrainingOperation class. This constructor is intended to be used for mocking only.

protected TrainingOperation ();
Protected Sub New ()

Applies to

TrainingOperation(String, FormTrainingClient)

Source:
TrainingOperation.cs

Initializes a new instance of the TrainingOperation class which tracks the status of a long-running operation for training a model from a collection of custom forms.

public TrainingOperation (string operationId, Azure.AI.FormRecognizer.Training.FormTrainingClient client);
new Azure.AI.FormRecognizer.Training.TrainingOperation : string * Azure.AI.FormRecognizer.Training.FormTrainingClient -> Azure.AI.FormRecognizer.Training.TrainingOperation
Public Sub New (operationId As String, client As FormTrainingClient)

Parameters

operationId
String

The ID of this operation.

client
FormTrainingClient

The client used to check for completion.

Applies to