PersonDirectoryExtensions.UpdatePersonFaceAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET