PersonGroupOperationsExtensions.GetTrainingStatusAsync Method

Definition

Retrieve the training status of a person group (completed or ongoing).

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

Parameters

operations
IPersonGroupOperations

The operations group for this extension method.

personGroupId
String

Id referencing a particular person group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to