Share via


CustomVisionTrainingClientExtensions.GetIterationAsync Method

Definition

Get a specific iteration.

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

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The id of the project the iteration belongs to.

iterationId
Guid

The id of the iteration to get.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to