Share via


FaceListOperationsExtensions.ListAsync Method

Definition

List face lists’ faceListId, name, userData and recognitionModel. <br /> To get face information inside faceList use FaceList - Get

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceList>> ListAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IFaceListOperations operations, bool? returnRecognitionModel = False, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IFaceListOperations * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceList>>
<Extension()>
Public Function ListAsync (operations As IFaceListOperations, Optional returnRecognitionModel As Nullable(Of Boolean) = False, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of FaceList))

Parameters

operations
IFaceListOperations

The operations group for this extension method.

returnRecognitionModel
Nullable<Boolean>

A value indicating whether the operation should return 'recognitionModel' in response.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to