LargeFaceListOperationsExtensions.ListFacesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- String
Id referencing a particular large face list.
- start
- String
Starting face id to return (used to list a range of faces).
Number of faces to return starting with the face id indicated by the 'start' parameter.
- cancellationToken
- CancellationToken
The cancellation token.