LargeFaceListOperationsExtensions.ListFacesAsync(ILargeFaceListOperations, String, String, Nullable<Int32>, CancellationToken) Method

Definition

List all faces in a large face list, and retrieve face information (including userData and persistedFaceIds of registered faces of the face).

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace>> ListFacesAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.ILargeFaceListOperations operations, string largeFaceListId, string start = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member ListFacesAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ILargeFaceListOperations * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace>>
<Extension()>
Public Function ListFacesAsync (operations As ILargeFaceListOperations, largeFaceListId As String, Optional start As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of PersistedFace))

Parameters

operations
ILargeFaceListOperations

The operations group for this extension method.

largeFaceListId
System.String

Id referencing a particular large face list.

start
System.String

Starting face id to return (used to list a range of faces).

top
System.Nullable<System.Int32>

Number of faces to return starting with the face id indicated by the 'start' parameter.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IList<PersistedFace>>

Applies to