Partager via


PersonDirectoryExtensions.DeletePersonFaceAsync Méthode

Définition

Surcharges

DeletePersonFaceAsync(IPersonDirectory, Guid, String, Guid, CancellationToken)
DeletePersonFaceAsync(IPersonDirectory, String, String, String, CancellationToken)
Obsolète.

DeletePersonFaceAsync(IPersonDirectory, Guid, String, Guid, CancellationToken)

Source:
PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonFaceHeaders> DeletePersonFaceAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, Guid personId, string recognitionModel, Guid persistedFaceId, System.Threading.CancellationToken cancellationToken = default);
static member DeletePersonFaceAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * Guid * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonFaceHeaders>
<Extension()>
Public Function DeletePersonFaceAsync (operations As IPersonDirectory, personId As Guid, recognitionModel As String, persistedFaceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonDirectoryDeletePersonFaceHeaders)

Paramètres

operations
IPersonDirectory
personId
Guid
recognitionModel
String
persistedFaceId
Guid
cancellationToken
CancellationToken

Retours

S’applique à

DeletePersonFaceAsync(IPersonDirectory, String, String, String, CancellationToken)

Source:
PersonDirectoryExtensions.cs

Attention

Method is being deprecated, consider using other overloads.

[System.Obsolete("Method is being deprecated, consider using other overloads.", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonFaceHeaders> DeletePersonFaceAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string personId, string recognitionModel, string persistedFaceId, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member DeletePersonFaceAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonFaceHeaders>
<Extension()>
Public Function DeletePersonFaceAsync (operations As IPersonDirectory, personId As String, recognitionModel As String, persistedFaceId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonDirectoryDeletePersonFaceHeaders)

Paramètres

operations
IPersonDirectory
personId
String
recognitionModel
String
persistedFaceId
String
cancellationToken
CancellationToken

Retours

Attributs

S’applique à