Udostępnij za pośrednictwem


PersonGroupPersonExtensions.DeleteAsync Method

Definition

Delete an existing person from a person group. All stored person data, and face features in the person entry will be deleted.

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

Parameters

operations
IPersonGroupPerson

The operations group for this extension method.

personGroupId
String

Id referencing a particular person group.

personId
Guid

Id referencing a particular person.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to