Share via


PersonDirectoryExtensions.UpdatePersonFaceAsync Method

Definition

Overloads

UpdatePersonFaceAsync(IPersonDirectory, String, String, String, PersistedFaceWithType, CancellationToken)
Obsolete.
UpdatePersonFaceAsync(IPersonDirectory, Guid, String, Guid, String, String, CancellationToken)

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

Parameters

operations
IPersonDirectory
personId
String
recognitionModel
String
persistedFaceId
String
cancellationToken
CancellationToken

Returns

Attributes

Applies to

UpdatePersonFaceAsync(IPersonDirectory, Guid, String, Guid, String, String, CancellationToken)

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

Parameters

operations
IPersonDirectory
personId
Guid
recognitionModel
String
persistedFaceId
Guid
detectionModel
String
userData
String
cancellationToken
CancellationToken

Returns

Applies to