PersonDirectoryExtensions.DeletePersonFaceAsync Method

Definition

Overloads

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

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)

Parameters

operations
IPersonDirectory
personId
Guid
recognitionModel
String
persistedFaceId
Guid
cancellationToken
CancellationToken

Returns

Applies to

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

Source:
PersonDirectoryExtensions.cs

Caution

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)

Parameters

operations
IPersonDirectory
personId
String
recognitionModel
String
persistedFaceId
String
cancellationToken
CancellationToken

Returns

Attributes

Applies to