Udostępnij za pośrednictwem


CustomVisionTrainingClientExtensions.UpdateIterationAsync Method

Definition

Update a specific iteration.

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Iteration> UpdateIterationAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Guid iterationId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Iteration updatedIteration, System.Threading.CancellationToken cancellationToken = default);
static member UpdateIterationAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Iteration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Iteration>
<Extension()>
Public Function UpdateIterationAsync (operations As ICustomVisionTrainingClient, projectId As Guid, iterationId As Guid, updatedIteration As Iteration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Iteration)

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

Project id.

iterationId
Guid

Iteration id.

updatedIteration
Iteration

The updated iteration model.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to