Share via


CustomVisionTrainingClientExtensions.TrainProjectAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Iteration> TrainProjectAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, string trainingType = default, int? reservedBudgetInHours = 0, bool? forceTrain = False, string notificationEmailAddress = default, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.TrainingParameters trainingParameters = default, System.Threading.CancellationToken cancellationToken = default);
static member TrainProjectAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * string * Nullable<int> * Nullable<bool> * string * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.TrainingParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Iteration>
<Extension()>
Public Function TrainProjectAsync (operations As ICustomVisionTrainingClient, projectId As Guid, Optional trainingType As String = Nothing, Optional reservedBudgetInHours As Nullable(Of Integer) = 0, Optional forceTrain As Nullable(Of Boolean) = False, Optional notificationEmailAddress As String = Nothing, Optional trainingParameters As TrainingParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Iteration)

Parameters

projectId
Guid
trainingType
String
reservedBudgetInHours
Nullable<Int32>
forceTrain
Nullable<Boolean>
notificationEmailAddress
String
trainingParameters
TrainingParameters
cancellationToken
CancellationToken

Returns

Applies to