Partilhar via


LargeFaceListOperationsExtensions.ListFacesAsync Método

Definição

Liste todos os rostos em uma grande lista de rostos e recupere informações de rosto (incluindo userData e persistedFaceIds de rostos registrados do rosto).

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))

Parâmetros

operations
ILargeFaceListOperations

O grupo de operações para esse método de extensão.

largeFaceListId
String

Id referenciando uma lista de rostos grande específica.

start
String

ID da face inicial a ser retornada (usada para listar um intervalo de rostos).

top
Nullable<Int32>

Número de rostos a serem retornados começando com a ID de rosto indicada pelo parâmetro 'start'.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a