你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LargeFaceListOperationsExtensions.ListFacesAsync 方法

定义

列出大型人脸列表中的所有人脸,并检索人脸信息 (包括人脸) 已注册人脸的 userData 和 persistedFaceIds。

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

参数

operations
ILargeFaceListOperations

此扩展方法的操作组。

largeFaceListId
String

引用特定大型人脸列表的 ID。

start
String

启动人脸 ID 以返回用于列出一系列人脸) (。

top
Nullable<Int32>

从“start”参数指示的人脸 ID 开始返回的人脸数。

cancellationToken
CancellationToken

取消标记。

返回

适用于