CustomVisionTrainingClientExtensions.TrainProjectAsync 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.
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
- operations
- ICustomVisionTrainingClient
- projectId
- Guid
- trainingType
- String
- notificationEmailAddress
- String
- trainingParameters
- TrainingParameters
- cancellationToken
- CancellationToken