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

FaceListOperationsExtensions.ListAsync 方法

定义

列出人脸列表的 faceListId、name、userData 和 recognitionModel。 <br /> 若要获取 faceList 中的人脸信息,请使用 FaceList - 获取

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

参数

operations
IFaceListOperations

此扩展方法的操作组。

returnRecognitionModel
Nullable<Boolean>

一个值,该值指示操作是否应返回“recognitionModel”作为响应。

cancellationToken
CancellationToken

取消标记。

返回

适用于