共用方式為


CustomVisionTrainingClientExtensions.GetIterationsAsync Method

Definition

Get iterations for the project.

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

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to