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

LargeFaceListOperationsExtensions.DeleteFaceAsync 方法

定义

从大型人脸列表中删除现有人脸, (persistedFaceId 和 largeFaceListId) 提供。 与人脸相关的持久化图像也将被删除。

public static System.Threading.Tasks.Task DeleteFaceAsync(this Microsoft.Azure.CognitiveServices.Vision.Face.ILargeFaceListOperations operations, string largeFaceListId, Guid persistedFaceId, System.Threading.CancellationToken cancellationToken = default);
static member DeleteFaceAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ILargeFaceListOperations * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteFaceAsync (operations As ILargeFaceListOperations, largeFaceListId As String, persistedFaceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
ILargeFaceListOperations

此扩展方法的操作组。

largeFaceListId
String

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

persistedFaceId
Guid

引用现有人脸的特定 persistedFaceId 的 ID。

cancellationToken
CancellationToken

取消标记。

返回

适用于