CustomVisionTrainingClientExtensions.TrainProjectWithHttpMessages(ICustomVisionTrainingClient, Guid, String, Nullable<Int32>, Nullable<Boolean>, String, TrainingParameters, Dictionary<String,List<String>>) Method

Definition

public static Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Iteration> TrainProjectWithHttpMessages (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.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default);
static member TrainProjectWithHttpMessages : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * string * Nullable<int> * Nullable<bool> * string * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.TrainingParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Iteration>
<Extension()>
Public Function TrainProjectWithHttpMessages (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 customHeaders As Dictionary(Of String, List(Of String)) = Nothing) As HttpOperationResponse(Of Iteration)

Parameters

projectId
Guid
trainingType
String
reservedBudgetInHours
Nullable<Int32>
forceTrain
Nullable<Boolean>
notificationEmailAddress
String
trainingParameters
TrainingParameters
customHeaders
Dictionary<String,List<String>>

Returns

HttpOperationResponse<Iteration>

Applies to