LargeFaceListOperationsExtensions.TrainAsync Method

Definition

Queue a large face list training task, the training task may not be started immediately.

public static System.Threading.Tasks.Task TrainAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.ILargeFaceListOperations operations, string largeFaceListId, System.Threading.CancellationToken cancellationToken = default);
static member TrainAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ILargeFaceListOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function TrainAsync (operations As ILargeFaceListOperations, largeFaceListId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ILargeFaceListOperations

The operations group for this extension method.

largeFaceListId
String

Id referencing a particular large face list.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to